Files
mixtape/zero.Backoffice.UI/app/editor/fields/output.vue
T

21 lines
380 B
Vue

<template>
<span class="ui-property-output" v-localize="output"></span>
</template>
<script>
export default {
props: {
value: Object,
config: Object,
render: Function
},
computed: {
output()
{
return typeof this.render === 'function' ? this.render(this.value, this.config.model) : this.value;
}
}
}
</script>