getItems()
gets the child items of a control
getItems(id: string | number): object[];
Parameters:
id: string | number
- 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 | number
- the ID of a controlThe child items of the control.
Example
const items = toolbar.data.getItems("menu1");