1.0.0 • Published 1 year ago
jquery-qrcode-es v1.0.0
How to Use It
- install
npm install jquery jquery-qrcode-es
- import
import jQuery from "jquery";
import jquery_qrcode_es from "jquery-qrcode-es";
jquery_qrcode_es(jQuery);
- Then create a DOM element which gonna contains the generated qrcode image. Lets say a div
<div id="qrcode"></div>
- Then you add the qrcode in this container by
jQuery("#qrcode").qrcode("this plugin is great");
- You can set the height and width of the generated qrcode:
jQuery("#qrcode").qrcode({
width: 64,
height: 64,
text: "size doesn't matter",
});
1.0.0
1 year ago