API Documentation
DruxtBlocksBlockMixin
blocks
DruxtBlocksBlockMixin
Provides props and computed values for use with a DruxtBlock Wrapper component.
Kind: global mixin
Example
<template>
<DruxtDebug :json="block" />
</template>
<script>
import { DruxtBlocksBlockMixin } from 'druxt-blocks'
export default {
mixins: [DruxtBlocksBlockMixin],
}
</script>
- DruxtBlocksBlockMixin
- .props
- .computed
- .settings() :
object
- .settings() :
.props
Kind: static property of DruxtBlocksBlockMixin
object
.block : The Block JSON:API resource.
Kind: static property of props
string
.langcode : The JSON:API resource language code.
Kind: static property of props
.computed
Kind: static property of DruxtBlocksBlockMixin
object
.settings() : Block settings.
Kind: static method of computed