w2toolbar.add

Adds a toolbar item or items.
add(items)
items object or array, toolbar items to add
Returns undefined.

Description

The items argument can be either an object or array of objects. If it is an object it represents a toolbar item that will be added to .items array. If it is an array then each element of the array will be treated as a separate toolbar item object.
If you have toolbar defined in the following way: You can add toolbar items:

User Comments

comments powered by Disqus