adds a select button to the toolbar
id | string | id of a select button |
pos | number | position of a select button |
text | string | text for a select button (null for no text) |
opts | array | listed options for a select button |
imgEn | string | image for the enabled state (null for no image) |
imgDis | string | image for the disabled state (null for no image) |
renderSelect | boolean | highlights the clicked item in submenu |
openAll | boolean | opens submenu by clicking on an item's icon or text |
maxOpen | number | a count of visible subitems |
mode | string | "select" for select mode (select-like behaviour) |
myToolbar.addButtonSelect(
id,
pos,
text,
opts,
imgEn,
imgDis,
renderSelect,
openAll,
maxOpen,
mode
);
Back to top