API Documentation

DruxtMenuItem

menu

DruxtMenuItem

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


Returns a menu link components.

Kind: instance method of DruxtMenuItem


.templates()

The menu item template functions.

Kind: instance method of DruxtMenuItem


.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


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()

The Vue.js render function.

Kind: static method of DruxtMenuItem