Sidebar | SideButton
SideButton#
Description#
- Small button for the
SideBar. Shows an image and can be used as a link or as an action trigger.
Props#
title(string) — Alternative descriptive text. Default:'Link'.image(string) — Path to the icon/image. Default:''.
Emits#
- Emits no events by default (it is an
<a href="#">). You can turn it into a button or handle its click with@click.preventin the parent.
Usage#
| |
Notes#
- If you want SPA behaviour, replace the
awithrouter-linkor capture the event in the parent.