NcActionButton
Button component to be used in Actions
Props
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
icon | Icon to show with the action, can be either a CSS class or an URL | string | - | '' |
title | Title to show next to the icon | string | - | '' |
closeAfterClick | Whether we close the Actions menu after the click | boolean | - | false |
ariaLabel | Aria label for the button. Not needed if the button has text. | string | - | '' |
disabled | disabled state of the action button | boolean | - | false |
Events
Event name | Properties | Description |
---|---|---|
click | Emitted when the action is clicked |
Slots
Name | Description | Bindings |
---|---|---|
icon | Manually provide icon | |
default |
This component is made to be used inside of the NcActions component slots.
loading...
If you're using a long text you can specify a title
loading...
Action icon attribute with a single action
loading...
You can also use a custom icon, for example from the vue-material-design-icons library:
loading...