Returns the MenuItem with the specified index.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Number | readonly | The number of objects in the collection. |
Methods
→ MenuItem
→ MenuItem
Creates a new menu item.
at?
LocationOptions
The location of the menu item relative to the reference object or within the containing object.
reference?
MenuElement
The reference object. Note: Required when the at parameter specifies before or after.
→ MenuItem
Returns any MenuItem in the collection.
→ Number
Displays the number of elements in the MenuItem.
→ MenuItem[]
Returns every MenuItem in the collection.
→ MenuItem
Returns the first MenuItem in the collection.
→ MenuItem
Returns the MenuItem with the specified index or name.
→ MenuItem
Returns the MenuItem with the specified ID.
→ MenuItem
Returns the MenuItem with the specified name.
→ MenuItem[]
Returns the MenuItems within the specified range.
→ MenuItem
Returns the last MenuItem in the collection.
→ MenuItem
Returns the middle MenuItem in the collection.
→ MenuItem
Returns the MenuItem whose index follows the specified MenuItem in the collection.
→ MenuItem
Returns the MenuItem with the index previous to the specified index.
→ String
Generates a string which, if executed, will return the MenuItem.
Object of 2
Properties elsewhere that hold a MenuItems.