destroy

Prepares the Gauge for safe removal from the DOM.

Detaches event handlers and removes data entries in order to avoid memory leaks.

Example

<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
    pointer: {
    value: 50
    },
    scale: {
    min: 0,
    max: 100
    }
});
setTimeout(function(){
    kendo.destroy($("#gauge"));
    $("#gauge").remove();
},1000)
</script>
In this article