Wijmo UI for the Web
wijcheckbox jQuery Widget
Decorate a standard HTML checkbox element.
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("");
});
Javascript (Specification) 
function wijcheckbox() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public Optionchecked

Default value: null

Causes the checkbox to appear with a checkmark.

 
Top
Methods
 NameDescription
public MethoddestroyRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodrefreshUse the refresh method to set the checkbox element's style.  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventchangedA function that is called when the checked state changes.  
Top

See Also

Widgets

CheckBox

Reference

wijcheckbox jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.