mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
29 lines
401 B
Vue
29 lines
401 B
Vue
<template>
|
|
<ds-grid-item :rowSpan="rowSpan">
|
|
<slot></slot>
|
|
</ds-grid-item>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
span: 10,
|
|
}
|
|
},
|
|
computed: {
|
|
rowSpan: {
|
|
get() {
|
|
return this.span
|
|
},
|
|
set(rowSpan) {
|
|
this.span = rowSpan
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
this.$parent.$emit('grid-item-mounted', this)
|
|
},
|
|
}
|
|
</script>
|