Constructor
new Menu(props)
Instantiates a new Menu
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties to initialize the menu with Properties
|
Members
body :Array.<MenuItem>
The body/content of the menu.
footer :string
The footer of the menu.
header :string
The header of the menu.
meta :MenuMeta
Configuration fields for menu.
(readonly) type :string
The type of the Menu object is always "menu".
Methods
(static) fromTag(sectionTag) → {Menu}
Creates a Menu from a SectionTag
Parameters:
Name | Type | Description |
---|---|---|
sectionTag |
SectionTag |