1.0.0 • Published 8 years ago
cordova-plugin-qianmi-qrcode v1.0.0
QRCode
带扫描效果的cordova扫描二维码插件(支持iOS,swift开发)
Installation
cordova plugin add cordova-plugin-qianmi-qrcode
Usage
js调用
var button = document.getElementsByClassName('QRCode')[0];
button.onclick = function() {
QRCode.scanCode(success, fail);
function success(info) {
alert(info);
}
function fail() {
alert('扫描二维码失败');
}
};
Supported Platforms
- iOS
License
Apache License 2.0
1.0.0
8 years ago