1.0.0 • Published 1 year ago

jquery-qrcode-es v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

How to Use It

  1. install
npm install jquery jquery-qrcode-es
  1. import
import jQuery from "jquery";
import jquery_qrcode_es from "jquery-qrcode-es";
jquery_qrcode_es(jQuery);
  1. Then create a DOM element which gonna contains the generated qrcode image. Lets say a div
<div id="qrcode"></div>
  1. Then you add the qrcode in this container by
jQuery("#qrcode").qrcode("this plugin is great");
  1. 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