w2toolbar.remove

Removes items from the toolbar.
remove(id1, [id2], ...)
id string, id of the toolbar item
Returns integer.

Description

Removes a toolbar item or items from the .items array and refreshes the toolbar. The toolbar item is identified by the .id property. The method returns the number of items it removes.
If you have toolbar defined in the following way: You can get toolbar item:

User Comments

comments powered by Disqus