getItems()
gets the child items of a control
getItems(id: Id): T[];
Parameters:
id: string
- the ID of a control
Returns:
The child items of the control.
Example
const items = toolbar.data.getItems("menu1");
gets the child items of a control
id: string
- the ID of a controlThe child items of the control.
Example
const items = toolbar.data.getItems("menu1");