NcActionRouter
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 | - | '' |
to | router-link to prop https://router.vuejs.org/api/#to | string|object | - | '' |
exact | router-link exact prop https://router.vuejs.org/api/#exact | boolean | - | false |
Events
Event name | Properties | Description |
---|---|---|
click | Emitted when the action is clicked |
Slots
Name | Description | Bindings |
---|---|---|
icon | Manually provide icon | |
default |