Wijmo UI for the Web
allowExpand Option
wijmo.expander.wijexpander Namespace > options type : 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
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijexpander("option", "allowExpand");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijexpander("option", "allowExpand", newValue);
        
});
var allowExpand : boolean;
Example
$("#element").wijexpander({ allowExpand: false });
See Also

Reference

options type
wijexpander jQuery Widget