SplitButton
Verwendung
Split buttons are generally in use, whenever multiple, similar actions can be combined into one common component. It helps to reduce clutter by not having multiple buttons in the UI, serving a similar purpose. The usage of the Split Button is also allowed, even if a clear differentiation between one primary and several secondary actions is not given. Nonetheless there still must be a logical and functional connection between all options.Eigenschaften
| Name | Type | Default Value | Description |
|---|---|---|---|
label | string | undefined | Primary Button Label |
disabled | boolean | false | Disables the Button |
icon | string | undefined | Icon to Display |
action | string | undefined | Name of the action this button should be used for |
title | string | undefined | Title to be displayed on hover |
tabIndex | number | undefined | Index of sequential keyboard navigation |
ariaHasPopup | string | undefined | Accessibility role. Used for popup context menu or sub-level menu. |
ariaExpanded | string | undefined | Accessibility expanded. Used for toggle button. |
ariaLabel | string | undefined | Accessibility label. Used if label doesn't exist. |
ariaLabelledBy | string | undefined | Accessibility label. Used if label does exist. |
options | IContextMeuLink | undefined | Secondary Options |
Events
| Name | Description |
|---|---|
click |