w2toolbar.hide

Hides toolbar item or items with id.
hide(id1, [id2], ...)
id string, id of the toolbar item
Returns array that contains ids of effected items.

Description

The item(s) must exists in the .items array of the toolbar. The toolbar item is identified by the .id property. The method returns the number of hidden items that were shown before.
If you have toolbar defined in the following way: You can hide toolbar item: You can also hide toolbar menu item:

User Comments

comments powered by Disqus