Wijmo UI for the Web
expanded Option
wijmo.expander.wijexpander Namespace > options type : expanded Option

Default value: true

Determines the visibility state of the content panel. If true, the content element is visible.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijexpander("option", "expanded");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijexpander("option", "expanded", newValue);
        
});
var expanded : boolean;
Example
$("#element").wijexpander({ expanded: false });
See Also

Reference

options type
wijexpander jQuery Widget