Methods

add - add(items)
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.
colorClick - colorClick(event)
Called when user selects an item from a color picker drop down menu.
disable - disable(id1, [id2], ...)
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.
getItemHTML - getItemHTML(item)
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.
scroll - scroll(direction)
Scrolls toolbar items if they overflow.
set - set(id, item)
Finds toolbar item with id and extends it with item object.
show - show(id1, [id2], ...)
Shows toolbar item or items with id.
tooltipHide - tooltipHide(id)
Shows tooltip of the item with id.
tooltipShow - tooltipShow(id, [event], [forceRefresh])
Shows tooltip of the item with id.
uncheck - uncheck(id1, [id2], ...)
Unchecks toolbar item or items with id (visually looks like pressed button).

Common Methods

destroy - destroy()
Destroys the object.
off - off(type, [handler])
Removes event listener from the object.
on - on(type, handler)
Adds event listener to a object.
refresh - refresh([id])
Refreshes the object without completely re-inserting it.
render - render([box])
Renders the object into box.
resize - resize()
Resizes the object to the width and height of its container.
trigger - trigger(eventData)
Executes all event listeners added with on() method.