AppTopbar API
API reference docs for the Stash AppTopbar
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import AppTopbar from '@leaflink/stash/AppTopbar.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
href | string | '/' | Url for the logo anchor wrapper |
sidebarOpened | boolean | false | Indicates if the AppSidebar is opened or not for styling purposes |
Slots
Name | Description |
---|---|
actions | Actions slot, for showing any actions to the left of the avatar |
avatar | Avatar slot, for showing the avatar on the far right of the header |
text | Text slot, for showing informative texts on the left of large viewports |
Events
Name | Description |
---|---|
toggle-sidebar |