Wijmo UI for the Web
destroy Method
Removes the dialog functionality completely. This will return the element back to its pre-init state.
Syntax
Javascript (Usage) 
$(function () {
    
          var options; // Type:  jQuery.wijmo.widget.options
    
          // Create a new widget widget
          $(".selector").widget(options);
    
          // Get a previously created widget widget instance
          var widgetInstance; // Type:  jQuery.wijmo.widget
          widgetInstance = $(".selector").data("wijmo-widget");
    
          var value; // Type:  any
    value = widgetInstance.destroy();
});
Javascript (Specification) 
function destroy() : any;
Browser Compatibility
7
5
5

See Also

Reference

widget type
widget jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.