Skip to main content

Ribbon SelectButton properties

type(string) the type of a control, set it to "selectButton". 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
value(string) the value of the button
css(string|string[]) adds style classes to a button
icon(string) the name of an icon from the used icon font
items(array) an array of nested controls. You can find the full list of all available controls here. If the type of a nested control is not specified, the menuItem type will be applied by default.
size(string) defines the size of a button: "small"|"medium"|"auto"
count(number) a badge with a number
countColor(string) the color of a badge with number: "danger" | "secondary" | "primary" | "success"
tooltip(string) a tooltip for the control
hidden(boolean) defines whether a button is hidden
disabled(boolean) defines whether a button is disabled