Skip to main content

Toolbar ImageButton properties

type(string) the type of a control, set it to "imageButton". If not specified - the "navItem" type is applied by default.
id(string, number) the id of a control, auto-generated if not set
parent(string) the parent of the item
src(string) the path to the image
css(string|string[]) adds style classes to a button
group(string) defines the name of a group of controls a button belongs to. If one of the buttons in the group becomes active, all others automatically become inactive
hotkey(string) the name of the hot key for the button
tooltip(string) a tooltip for the button
count(number) a badge with a number
countColor(string) the color of a badge with number: "danger" | "secondary" | "primary" | "success"
multiClick(boolean) if true - the "click" event will fire multiple times when the button is clicked and held; if false - the "click" event will fire on each click of the button
hidden(boolean) defines whether a button is hidden
disabled(boolean) defines whether a button is disabled