w2toolbar.items

Array of the item objects.
Array, default = []
The .items property defines all toolbar items (buttons, drop down menus, etc.) You can define them during object creation or at run-time. The structure of the item is defined in .item_template()
If you change this property during run-time, do not forget to call the .refresh() method.
To add/remove items during run-time, you should better call .add(), .insert(), .remove() methods.

User Comments

comments powered by Disqus