Prepares the ActionSheet for safe removal from DOM. Detaches all event handlers and removes attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.

Important: This method does not remove the ActionSheet element from DOM.


<div data-role="view">
  <a data-role="button" data-click="destroy">Destroy</a>
  <ul id="actionsheet" data-role="actionsheet">

var app = new;

function destroy() {
  // detach events
In this article