Optional
colorDark?: stringThe color of the dark squares
Optional
colorLight?: stringThe color of the light squares
Optional
correctLevel?: anyThe error correction level to use
Optional
domElement?: HTMLElementThe dom element to append the QR code to. If not provided a new div will be created and returned
Optional
height?: numberThe height of the QR code
Optional
showLogo?: booleanIf true, the same logo as for the Needle loading screen will be drawn in the center of the QR code
Optional
showUrl?: booleanIf true, the URL will be shown below the QR code
The text to encode
Optional
width?: numberThe width of the QR code
The dom element containing the QR code
Generates a QR code HTML image using https://github.com/davidshimjs/qrcodejs