renderAs String (default: "svg")

Sets 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.
  • "svg" - renders the widget as inline SVG document, if available

Example - Render as SVG, if supported

<div id="qrCode"></div>
<script>
$("#qrCode").kendoQRCode({
  value: "https://demos.telerik.com/kendo-ui/dataviz/overview/index.html",
  renderAs: "svg"
});
</script>
In this article