iterates through child items of a control
id | string | the ID of a control |
cb | function | the function that will be applied to every child of the item |
toolbar.data.eachChild("menu_1", item => {
// disable items
item.$disabled = true;
});
toolbar.paint();
Back to top