Wijmo UI for the Web
ensureSubmenuOnBody Option
wijmo.menu.wijmenu Namespace > options type : ensureSubmenuOnBody Option

Default value: false

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

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijmenu("option", "ensureSubmenuOnBody");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijmenu("option", "ensureSubmenuOnBody", newValue);
        
});
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.
See Also

Reference

options type
wijmenu jQuery Widget