destroy

Prepares the QRCode for safe removal from the DOM.

Removes data entries in order to avoid memory leaks.

Example

var qrCode = $("#qrCode").data("kendoQRCode");
qrCode.destroy();
In this article