setOptions

Sets new options to the QRCode and redraws it.

Parameters

options Object

An object with the new options. All configuration options can be set.

Example

var qrCode = $("#qrCode").data("kendoQRCode");

qrCode.setOptions({
  errorCorrection: "H",
  size: 300,
  background: "#FFB821",
  border: {
    width: 5,
    color: "#FF7D05"
  }
});
In this article
Not finding the help you need?