Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference

getList(name, item, flat)

Gets the list of all or child items for specified menu item.


nameStringThe value of name attribute of the Menu directive
item (optional)ObjectThe item for which the list is requested
flat (optional)BooleanDetermines whether the returned list is in linear format

Return Value

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.

Version Information

Supported in: v1.0.

See Also