DruxtMenuItem
DruxtMenuItem
Used by the DruxtMenu component to render individual Druxt Wrapper themeable menu items.
- DruxtMenuItem
- instance
- static
.getLink(h, entity)
Returns a menu link component.
Kind: instance method of DruxtMenuItem
| Param | Type | Description |
|---|---|---|
| h | function | The Vue createElement function. |
| entity | object | The menu item entity. |
.templates(h)
The menu item template functions.
Kind: instance method of DruxtMenuItem
| Param | Type | Description |
|---|---|---|
| h | function | The Vue createElement function. |
.props
Kind: static property of DruxtMenuItem
.item : object
The menu item.
Kind: static property of props
Required:
.computed
Kind: static property of DruxtMenuItem
.active : boolean
Current items Active state.
Kind: static property of computed
.classes : string
Class(es) for the menu item.
Kind: static property of computed
.menu : object | boolean
The parent DruxtMenu component, if present.
Kind: static property of computed
.template : string
The menu item template type.
Kind: static property of computed
.to : object
The to attribute for the menu item.
Kind: static property of computed
.render(h)
The Vue.js render function.
Kind: static method of DruxtMenuItem
| Param | Type | Description |
|---|---|---|
| h | function | The Vue createElement function. |