Appearance
Interface: QRCodeOptions
Options accepted by UtilsQRCode.toDataURL.
Properties
color?
ts
optional color?: QRCodeColorOptions;Foreground and background colors.
errorCorrectionLevel?
ts
optional errorCorrectionLevel?: QRCodeErrorCorrectionLevel;Error-correction level.
Default Value
M
margin?
ts
optional margin?: number;Width of the quiet zone around the code, in modules.
Default Value
4
scale?
ts
optional scale?: number;Number of pixels used for each module. Ignored when width is set.
Default Value
4
width?
ts
optional width?: number;Requested image width, in pixels.