QRCode

Example

Razor
<kendo-qrcode>
    <border />
    <overlay />
</kendo-qrcode>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
backgroundStringThe background color of the QR code. Accepts a valid CSS color string, including hex and rgb.
colorStringThe color of the QR code. Accepts a valid CSS color string, including hex and rgb.
encodingQREncodingThe encoding mode used to encode the value.The possible values are: "ISO_8859_1" - supports all characters from the ISO/IEC 8859-1 character set. or "UTF_8" - supports all Unicode characters..
error-correctionQRErrorCorrectionLevelThe error correction level used to encode the value.The possible values are: "L" - approximately 7% of the codewords can be restored.; "M" - approximately 15% of the codewords can be restored.; "Q" - approximately 25% of the codewords can be restored. or "H" - approximately 30% of the codewords can be restored..
paddingDoubleSets the minimum distance in pixels that should be left between the border and the QR modules.
render-asRenderingModeSets the preferred rendering engine. If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.
script-attributesIDictionary<String,Object>
sizeDoubleSpecifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element has width or height of zero, a default value of 200 pixels will be used.
valueStringSets the value of QR code.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
as-moduleBoolean
has-client-componentBoolean
sanitize-idBoolean
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support