www.electronjs.org | Support Level
= Strong
You can download this from Github release page or npm. And include this in index.html
.
<script src="html5-qrcode.min.js"></script>
<div style="width: 600px" id="reader"></div>
function onScanSuccess(qrCodeMessage) {
// handle on success condition with the decoded message
}
var html5QrcodeScanner = new Html5QrcodeScanner(
"reader", { fps: 10, qrbox: 250 });
html5QrcodeScanner.render(onScanSuccess);
npm start