OptionalcolorDark?: stringThe color of the dark squares
OptionalcolorLight?: stringThe color of the light squares
OptionalcorrectLevel?: anyThe error correction level to use
OptionaldomElement?: HTMLElementThe dom element to append the QR code to. If not provided a new div will be created and returned
Optionalheight?: numberThe height of the QR code
OptionalshowLogo?: booleanIf true, the logo will be shown in the center of the QR code. By default the Needle Logo will be used. You can override which logo is being used by setting the needle-engine web component's qr-logo-src attribute. The logo can also be disabled by setting that attribute to a falsey value (e.g. "0" or "false")
OptionalshowUrl?: booleanIf true, the URL will be shown below the QR code
The text to encode
Optionalwidth?: 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