Wijmo UI for the Web
mode Option

Default value: 'flyout'

The mode option defines the behavior of the menu, whether it is a pop-up menu or an iPod-style navigation list.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijmenu("option", "mode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijmenu("option", "mode", newValue);
        
});
Javascript (Specification) 
var mode : string;
Remarks
The possible values are "flyout" or "sliding". If you want to show your submenu in the same container by sliding animation as in an iPod-style menu, use the "sliding" mode.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.