Array of the item objects.
button | regular button |
check | check button (2 states: checked and unchecked. See .checked property. |
radio | radio button, similar to check button but other buttons in the group will be unchecked. See .checked and .group property |
drop | simple drop down, whatever in .html property will be display in the drop down |
menu | drop down menu. The .items property will be treated as menu items. This property either an array of strings or array of objects. If it is array of string, then each element of the array is a menu item. If it is array of object, then each element of the array is an object of the following type: There are several default icons in w2ui.css file you can use or you can create your own css file with icons. Majority of default icons are used in w2grid. Default icons are: icon-folder, icon-page, icon-reload, icon-columns, icon-search, icon-add, icon-delete, icon-save, icon-edit, icon-bullet-black |
html | html item, this html will be displayed instead of the toolbar item |
break | vertical separator |
spacer | horizontal spacer, will push all following buttons to the right hand side |