@vubrussel/vub_tailwind
Version:
Vue and Tailwind CSS based frontend components with VUB specific layout.
15 lines (9 loc) • 1.32 kB
Markdown
# VUBHeader
## Props
<!-- @vuese:VUBHeader:props:start -->
|Name|Description|Type|Required|Default|
|---|---|---|---|---|
|menuItems|optionally add menuitems``` <VUBHeader :menuItems="[ { label: 'End users license agreement', onClick: (){ //nav action }, }, { label: 'Catalogue', onClick: () =>{ //nav action }, }, { label: 'Overview of active licenses', onClick: (){ //nav action $router.push({path:'/licenses'}) }, } ]" /> ```|`Array`|`false`||
|logoClicked|what should happen when the vub logo is clicked|`Function`|`false`|() => window.location = 'https://vub.be'|
|localeChangerComponent|optional locale changer component to be placed in the top right corner|`Object`|`false`|null|
<!-- @vuese:VUBHeader:props:end -->