QRCodeOptions
The QR Code configuration options.
Name | Type | Default | Description |
---|---|---|---|
background? |
|
|
The background color of the QR Code. Accepts a valid CSS color string, including hex and rgb. |
border? |
|
The border of the QR Code. | |
color? |
|
|
The color of the QR Code. Accepts a valid CSS color string, including hex and rgb. |
encoding? |
|
|
The encoding mode used to encode the value.
The possible values are:
|
errorCorrection? |
|
|
The error correction level to use. The possible values are:
|
overlay? |
|
An optional image overlay that will placed over the QR Code.
| |
padding? |
|
|
The padding of the QR Code. A numeric value sets all paddings. |
renderAs? |
|
|
Sets the preferred rendering mode of the QR Code. The supported values are:
|
size? |
|
|
Specifies the size of a QR Code. Numeric values are treated as pixels. If no size is specified, the size will be determined from the element width and height. If the element has width or height of zero, a default value of 200 pixels will be used. |
value |
|
The value of the QR Code. |