Location:Home > JS special effects code > Other front-end code

jquery.qrcode.js generates QR code plugin

2020-06-26 253views
jquery.qrcode.js is a jQuery plug-in that can dynamically generate a QR code. It can easily generate a QR code image on the page. It supports Canvas and Table rendering methods. Its advantage is that it is dynamically generated on the client side. , Reducing the pressure on the server. Jquery.Qrcode mainly includes the following parameter settings: render defines the rendering method of the QR code, there are two rendering methods of table and canvas width defines the width of the QR code height defines the height of the QR code text defines the content of the QR code typeNumber QR code The calculation mode of is generally defaulted to -1 correctLevel Error correction level of the QR code background defines the background color of the QR code foreground defines the foreground color of the QR code