diff --git a/README.md b/README.md index 5e2d2dc..d0b6e20 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,12 @@ var qrcode = new QRCode(document.getElementById("qrcode"), { height: 128, colorDark : "#000000", colorLight : "#ffffff", - correctLevel : QRCode.CorrectLevel.H + correctLevel : QRCode.CorrectLevel.H, + icon:{ + src:"" //image base64, + width:25, // default 20px + height:25 // default 20px + } }); ``` diff --git a/index.html b/index.html index fc16f3d..da76869 100644 --- a/index.html +++ b/index.html @@ -8,13 +8,20 @@
-