DruxtBlockViewsBlock
DruxtBlockViewsBlock
Views block.
This component is intended to be rendered by the <DruxtBlock /> component.
- Renders a Views block component.
See: DruxtBlock
Example
<DruxtBlock
uuid="43d613c6-ab66-453d-bce1-e1dfc990b4a1"
/>
- DruxtBlockViewsBlock
- .mixins
- .computed
- .displayId :
string - .propsData :
object - .viewId :
string
- .displayId :
- .data()
- .fetch()
.mixins
Kind: static property of DruxtBlockViewsBlock
See: DruxtBlocksBlockMixin
.computed
Kind: static property of DruxtBlockViewsBlock
- .computed
- .displayId :
string - .propsData :
object - .viewId :
string
- .displayId :
.displayId : string
The View Display ID.
Kind: static property of computed
.propsData : object
Properties to pass through to the <DruxtViews /> component.
Kind: static property of computed
See: DruxtView
.viewId : string
The View ID.
Kind: static property of computed
.data()
Vue.js Data object.
Used for on-demand JSON:API resource loading.
Kind: static method of DruxtBlockViewsBlock
Properties
| Name | Type | Description |
|---|---|---|
| uuid | string | boolean | The Views JSON:API resource UUID. |
.fetch()
Nuxt fetch method.
Kind: static method of DruxtBlockViewsBlock