Wijmo UI for the Web
checkable Option

Default value: false

When you set the checkable option to true and click on a menu item, the clicked item's state will be selected. A "ui-state-active" class will be added to the item so that the item behavior and the item appearance are different.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijmenu("option", "checkable");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijmenu("option", "checkable", newValue);
        
});
Javascript (Specification) 
var checkable : boolean;
Browser Compatibility
7
5
5

See Also

Reference

options type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.