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