VSplitButton
Props
| Name | Type | Description |
|---|---|---|
| appearance | Enum:ghostfilledoutlinedoutlined-light | Sets the appearance |
| connotation | Enum:alertaccentctasuccessannouncement | Sets the connotation |
| disabled | boolean | Sets the disabled state |
| icon | Enum:10-sec-backward-line10-sec-backward-solid10-sec-forward-line10-sec-forward-solid30-sec-backward-line30-sec-backward-solid30-sec-forward-line30-sec-forward-solid5-sec-backward-line5-sec-backward-solid5-sec-forward-line5-sec-forward-solid... 1266 more ... | A decorative icon the custom element should have. See the Vivid Icon Gallery for available icons and icon-names See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/ |
| indicator-aria-label | string | Accessible label for the secondary action |
| label | string | Indicates the split button's label. |
| shape | Enum:roundedpill | Sets the shape |
| size | Enum:condensednormalexpandedsuper-condensed | Sets the size |
| split-indicator | string | Icon for the secondary action |
Events
| Name | Event Type | Description |
|---|---|---|
| action-click | CustomEvent<undefined> | Event emitted when the action button is clicked |
| blur | FocusEvent | Fires when the element loses focus. |
| click | MouseEvent | Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element. |
| focus | FocusEvent | Fires when the element receives focus. |
| indicator-click | CustomEvent<undefined> | Event emitted when the indicator button is clicked |
| input | Event | Fires when the value of an element has been changed. |
| keydown | KeyboardEvent | Fires when a key is pressed. |
| keyup | KeyboardEvent | Fires when a key is released. |
Slots
| Name | Description |
|---|---|
| default | Default slot. |
| icon | The preferred way to add an icon to the component. |