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

See Also

Reference

wijcheckbox type
wijcheckbox jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.