Wijmo UI for the Web
orientation Option

Default value: 'horizontal'

This option controls the root menu's orientation. All submenus are vertical regardless of the orientation of the root menu.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijmenu("option", "orientation");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijmenu("option", "orientation", newValue);
        
});
Javascript (Specification) 
var orientation : string;
Remarks
Possible values are "horizontal" or "vertical". You can see the horizontal menu in theMarkup and Scripting section.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.