Adds a toolbar item or items.
check - check(id1, [id2], ...)
Checks toolbar item or items with id (visually looks like pressed button).
click - click(id, [event])
Called when user clicks on a toolbar item.
Disables toolbar item or items with id.
enable - enable(id1, [id2], ...)
Enables toolbar item or items with id.
get - get(id, [returnIndex])
Finds toolbar item with id and returns it or its index.
Generates HTML for the toolbar item.
hide - hide(id1, [id2], ...)
Hides toolbar item or items with id.
insert - insert(before, items)
Inserts a toolbar item or items before item with id=before.
menuClick - menuClick(id, menu_index, [event])
Called when user selects an item from a drop down menu.
remove - remove(id1, [id2], ...)
Removes items from the toolbar.
Finds toolbar item with id and extends it with item object.
show - show(id1, [id2], ...)
Shows toolbar item or items with id.
Unchecks toolbar item or items with id (visually looks like pressed button).
Destroys the object.
off - off(type, [handler])
Removes event listener from the object.
Adds event listener to a object.
Refreshes the object without completely re-inserting it.
Renders the object into box.
Resizes the object to the width and height of its container.
Executes all event listeners added with on() method.