adds a listed option to a select button
parentId | string|number | the id of a select button |
optionId | string|number | the id of a listed option |
pos | number | the position of a listed option |
type | string | the type of a listed option (button/separator) |
text | string | the text for a listed option |
img | string | the image for a listed option |
myToolbar.addListOption(parentId, optionId, pos, type, text, img);
Back to top