Defines the items of Ribbon.
Adds a new item to the menu. By default, new item appends to the list as the last item, but you can insert based on the text parameter.
Parameter | Type | Description |
---|---|---|
controlId | string |
Gets the control ID. |
Items | ItemModel |
Gets the SplitButton items. |
text (optional) | string |
Gets the text of the splitbutton item where the new item needs to be inserted. |
Returns void
Removes the items from the menu.
Parameter | Type | Description |
---|---|---|
controlId | string |
Gets the control ID. |
Items | string[] |
- |
isUniqueId (optional) | boolean |
- |
Returns void
To open/close SplitButton popup based on current state of the SplitButton.
Parameter | Type | Description |
---|---|---|
controlId | string |
Gets the control ID. |
Returns void
Updates the splitbutton.
Parameter | Type | Description |
---|---|---|
prop | RibbonSplitButtonSettingsModel |
Gets the splitbutton property. |
id | string |
Gets the ID of dropdown. |
Returns void