1.0.11 • Published 2 years ago
@lucasz/d-sidebar v1.0.11
DSidebar
Usage
- Import the component.
import DSidebar from 'd-sidebar';
- Add it to the components object.
components: {DSidebar}
- Use it in the template.
<DDropdown
...props
>
<!-- Insert logo or something else to display above the items -->
</DDropdown>
Props
Name | Type | Required | Default | Description |
---|---|---|---|---|
items | {label: string, routerLink: string}[] | ✔️ | - | The sidebar items with their labels and router links. |
Events
Name | Description |
---|---|