type | (string) the type of a control, set it to "navItem". If not specified - the "menuItem" 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) a value of the navItem. You need to set either the value or html property to the navItem |
html | (string) optional, a string with HTML that should be inserted into the navItem |
css | (string|string[]) adds style classes to a navItem |
icon | (string) an icon of the navItem |
items | (array) an array of nested controls |
twoState | (boolean) adds two states to the item: active (pressed) and inactive (unpressed) |
group | (string) defines the name of a group of controls a navItem belongs to. If one of the navItems in the group becomes active, all others automatically become inactive |
active | (boolean) sets the state of a twoState item |
hotkey | (string) the name of a keyboard shortcut for a menu item |
count | (number) a badge with a number |
countColor | (string) the color of a badge with number: "danger" | "secondary" | "primary" | "success" |
hidden | (boolean) defines whether an item is hidden |
disabled | (boolean) defines whether an item is disabled |