Wijmo UI for the Web
allowExpand Option

Default value: true

Determines if the widget can be collapsed or expanded through user interaction.Set this option to false to disable collapsing and expanding in the widget.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijexpander("option", "allowExpand");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijexpander("option", "allowExpand", newValue);
        
});
Javascript (Specification) 
var allowExpand : boolean;
Example
$("#element").wijexpander({ allowExpand: false });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijexpander jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.