Wijmo UI for the Web
ensureSubmenuOnBody Option

Default value: false

A value indicating the submenu element will be append to the body or menu container.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijmenu("option", "ensureSubmenuOnBody");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijmenu("option", "ensureSubmenuOnBody", newValue);
        
});
Javascript (Specification) 
var ensureSubmenuOnBody : boolean;
Remarks
If the value is true, the submenu will be appended to body element. else it will append to the menu container.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijmenu jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.