iterator, calls a user-defined handler for each item
handler | function | a user-defined function, will take an item id as an argument |
myToolbar.forEachItem(function(itemId){
// your code here
});
// or
function doWithItem(itemId){
// your code here
}
myToolbar.forEachItem(doWithItem);
Back to top