Advanced User Interface Controls and Components
Gets the list of all or child items for specified menu item.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the Menu directive |
item (optional) | Object | The item for which the list is requested |
flat (optional) | Boolean | Determines whether the returned list is in linear format |
An array that represents the list of all or child items for the specified item. If item is not specified, a list of root items is returned.
When flat parameter is set to true, it will return a linear list of all menu items.
This method is part of IntegralUIMenuService.
Supported in: v1.0.