DruxtViewsViewMixin
View source on GitHubDruxtViewsViewMixin
Provides Vue.js properties for DruxtView slot themable components.
Kind: global mixin
Example
<script>
import { DruxtViewsViewMixin } from 'druxt-views'
export default {
mixins: [DruxtViewsViewMixin],
}
</script>
.mixins : Array.<object>
Vue.js mixins.
Kind: static property of DruxtViewsViewMixin
See: DruxtEntityContextMixin
.props
Vue.js Properties.
Kind: static property of DruxtViewsViewMixin
.count : integer
The JSON:API Views results total count.
Kind: static property of props
.display : object
The View display object.
Kind: static property of props
.langcode : string
The JSON:API resource language code.
Kind: static property of props
.mode : boolean | string
The Entity display mode.
Kind: static property of props
.pager : object
The View pager settings.
Kind: static property of props
.results : Array.<object>
The JSON:API Views results.
Kind: static property of props
.value : object
The DruxtView model value.
Kind: static property of props
.view : object
The JSON:API View resource.
Kind: static property of props
.data()
Vue.js Data object.
Kind: static method of DruxtViewsViewMixin
Properties
| Name | Type | Description |
|---|---|---|
| model | object | The DruxtView model. |