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
In this article
Not finding the help you need? Improve this article