adds a two-state button to the toolbar
id | string|number | id of a two-state button |
pos | number | position of a two-state button |
text | string | text for a two-state button (null for no text) |
imgEn | string | image for the enabled state (null for no image) |
imgDis | string | image for the disabled state (null for no image) |
myToolbar.addButtonTwoState(id, pos, text, imgEn, imgDis);
Back to top