Members
Gets or sets the id of the base item button.
Type:
collapseAllOnSelect :Boolean
Gets or sets a value indicating if all items are collapsed when an item is selected. Option has effect only when the corresponding item-group is not statically positioned.
Type:
command :String
Gets or sets the command action of the item. A string wrapped function example: "app.section.doCommand".
Type:
cssClassIcon :String
Gets or sets the css class of the icon.
Type:
cssClassItemGroup :String
Gets or sets the css class of the child item-group.
Type:
cssClassSubGroup :String
Gets or sets the css class of a sub-group. Option has effect only when the subGroupId is specified.
Type:
expandDelay :Number
Gets or sets the delay in milliseconds before expanding a menu-item through a pointer-enter/leave event.
Type:
expandDirection :MenuItem.ExpandDirectionOption
Gets or sets the direction in which the menu item will expand it's children.
Type:
-
MenuItem.ExpandDirectionOption
expandOnSelect :Boolean
Gets or sets a value indicating if a selectable item with child-items is expanded when selected.
Type:
expandable :Boolean
Gets or sets a value indicating if the item can be expanded/collapsed (true) or is always in expanded state (false). Option has effect only when the item-group containing the child-items is positioned statically.
Type:
expanded :Boolean
Gets or sets a value indicating if the item is initially expanded. Option has effect only when the item is expandable (otherwise child-items are always expanded) and the child-item list is loaded.
Type:
hasIcon :Boolean
Gets or sets a value indicating if the item has an icon.
Type:
href :String
Gets or sets the href (hypertext reference) of the item. Applies to non-split buttons only.
Type:
iconURL :String
Gets or sets the URL of the icon.
Type:
isCategory :Boolean
Gets or sets a value indicating that the item is a category. Child-items of a category are rendered as root-level navigation and are displayed when the category-item is selected (hiding the current root menu/category).
Type:
itemGroupBoxId :String
Gets or sets the id of the base item-group box.
Type:
itemGroupStyle :String
Gets or sets the CSS style of the item-group.
Type:
radioGroupId :String
Gets or sets the id of the radio group to which this item belongs.
Type:
selectable :Boolean
Gets or sets a value indicating if the item is selectable. By default the item is selectable when there are no child-items or the item is a RADIO/CHECK-BUTTON type. Disable option when an item renders a template with no navigational purpose.
Type:
selectedChild :Boolean
Gets or sets a value indicating if a child-item is selected.
Type:
style :String
Gets or sets the CSS style of the item.
Type:
subGroupId :String
Gets or sets the id of the sub group (container) to which this item belongs. When provided, an HTML element will be created to serve as a container for all items with the same sub-group identifier
Type:
target :String
Gets or sets the href target of the item. Applies to non-split buttons only.
Type:
type :MenuItem.TypeOption
Gets or sets the item button type.
Type:
(static, readonly) ColumnDirectionOption :number
Specifies the layout direction of a menu item's columns.
Type:
Properties:
| Name |
Type |
Description |
HORIZONTAL |
number
|
Columns are laid out horizontally. |
VERTICAL |
number
|
Columns are laid out vertically. |
(static, readonly) ExpandDirectionOption :number
Specifies the direction in which a menu item's children expand.
Type:
Properties:
| Name |
Type |
Description |
DOWN |
number
|
Expands downward. |
RIGHT |
number
|
Expands to the right. |
UP |
number
|
Expands upward. |
LEFT |
number
|
Expands to the left. |
(static, readonly) TypeOption :number
Specifies the button type of a MenuItem.
Type:
Properties:
| Name |
Type |
Description |
COMMANDBUTTON |
number
|
A standard command button. |
CHECKBUTTON |
number
|
A toggleable check button. |
RADIOBUTTON |
number
|
A radio button, mutually exclusive within its radio group. |