qr IoU s 介绍
qr IoU s是一款基于html5 Canvas的纯js 二维码 生成 插件 。通过qr IoU s.js可以 快速 生成 各种 二维码 ,你可以控制 二维码 的尺寸颜色,还可以将 生成 的 二维码 进行Base64编码。
.d88888b. 8888888b. d8b
d88P" "Y88b 888 Y88b Y8P
888 888 888 888
888 888 888 d88P 888 .d88b. 888 888 .d8888b
888 888 8888888P" 888 d88""88b 888 888 88K
888 Y8b 888 888 T88b 888 888 888 888 888 "Y8888b.
Y88b.Y8b88P 888 T88b 888 Y88..88P Y88b 888 X88
"Y888888" 888 T88b 888 "Y88P" "Y88888 88888P'
Y8b
安装
npm install --save qr IoU s
# OR:
bower install --save qr IoU s
例子
<!DOCTYPE html>
<html>
<body>
<canvas id="qr"></canvas>
<script src="/path/to/qr IoU s.js"></script>
<script>
(function() {
var qr = new QR IoU s({
element: document.getElementById('qr'),
value: 'https://github.com/neocotic/qr IoU s'
});
})();
</script>
</body>
</html>
网站地址 : https://neocotic.com/qrious
GitHub: https://github.com/neocotic/qrious
网站描述: 纯Js使用Canvas 生成 QR 代码
qrious官方网站
官方网站: https://neocotic.com/qrious
如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。