Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 474 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 474 Bytes

A simple customelement wrapper for qrcode.js

No more id nonsense... just add a tag for it

<!doctype html>
<html>
<head>
    <script src="https://cdn.jsdelivr.net/gh/davidshimjs/qrcodejs@master/qrcode.js"></script>
    <script src="qr_widget.js"></script>
</head>
<body>
    <qr-code width="400" height="400" style="box-shadow: 10px 5px 5px black;">https://cdn.jsdelivr.net/gh/davidshimjs/qrcodejs@master/qrcode.js</qr-code>
</body>
</html>