Components
Button group
Tag: <we-button-group>
Standard module: we_button_group
Displays actions together, including overflow actions. It emits a selection event for an overflow choice.
Features
- Shows an overflow menu for extra actions.
- Emits
selectfor an overflow action.
Public parameters
| JavaScript property | HTML attribute | Type | Initial value | Purpose |
|---|---|---|---|---|
moreLabel |
more-label |
String | 'More Actions' |
Overflow button label. |
moreTitle |
more-title |
String | '' |
Overflow button title. |
ariaLabel |
aria-label |
String | 'Primary actions' |
Accessible label for the action group. |
overflowButtons |
overflow-buttons |
Array | [] |
Actions placed in the overflow menu. |
Public methods
No @apiFunction methods are declared.
Events
selectis emitted as a DOM custom event.
Source: working/environment_modules/standard/we_button_group/WebComponent/WeButtonGroup.js.