API Documentation

DruxtMenuMixin

menu

DruxtMenuMixin

Provides Vue.js properties to render Drupal Menu components.

Kind: global mixin
Example

<script>
import { DruxtMenuMixin } from 'druxt-menu'

export default {
  mixins: [DruxtMenuMixin],
}
</script>

.props

Vue.js Properties.

Kind: static property of DruxtMenuMixin


.items : Array.<object>

The Menu items.

Kind: static property of props


.langcode : string

The JSON:API resource language code.

Kind: static property of props


.parentId : string

The menu parent ID to use as the root of the menu.

Kind: static property of props