Menu API Reference

Properties

animation string advanced
autoFocusOnMouseenter boolean false
checkable boolean false
checkboxes boolean false
checkMode string checkbox
dataSource array null
disabled boolean false
dropDownAppendTo string/HTMLElement null
dropDownOverlay boolean false
dropDownPosition string auto
locale string en
localizeFormatFunction function null
messages object {“en”:{“propertyUnknownType”:”‘{{name}}’ property is with undefined ‘type’ member!”,”propertyInvalidValue”:”Invalid ‘{{name}}’ property value! Actual value: {{actualValue}}, Expected value: {{value}}!”,”propertyInvalidValueType”:”Invalid ‘{{name}}’ property value type! Actual type: {{actualType}}, Expected type: {{type}}!”,”elementNotInDOM”:”Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.”,”moduleUndefined”:”Module is undefined.”,”missingReference”:”{{elementType}}: Missing reference to {{files}}.”,”htmlTemplateNotSuported”:”{{elementType}}: Browser doesn’t support HTMLTemplate elements.”,”invalidTemplate”:”{{elementType}}: \”{{property}}\” property accepts a string that must match the id of an HTMLTemplate element from the DOM.”}}
minimizeIconTemplate string null
minimizeWidth number null
mode string horizontal
opened boolean false
overflow string auto
readonly boolean false
selectionMode string click
theme string
unfocusable boolean false

Events

close Event
closing Event
collapse Event
collapsing Event
expand Event
expand Event
itemCheckChange Event
itemClick Event
open Event
opening Event

Methods

addItem Method
checkItem Method
close Method
collapseItem Method
expandItem Method
getItem Method
maximize Method
minimize Method
open Method
removeItem Method
uncheckItem Method