API Documentation

DruxtMenuItem

menu

DruxtMenuItem

Used by the DruxtMenu component to render individual Druxt Wrapper themeable menu items.


.templates()

The menu item template functions.

Kind: instance method of DruxtMenuItem


.props

Vue.js Properties.

Kind: static property of DruxtMenuItem
See: https://vuejs.org/v2/guide/components-props.html


.item : object

The menu item.

Kind: static property of props
Required:


.computed

Vue.js Computed properties.

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


.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


The parent DruxtMenu component, if present.

Kind: static property of computed


.render()

The Vue.js render function.

Kind: static method of DruxtMenuItem