custom-bootstrap-vue
Version:
Custom version of bootstrap-vue created for providing specific theme to a particular project
19 lines (15 loc) • 407 B
JavaScript
export default {
methods: {
renderColgroup() {
const h = this.$createElement
const fields = this.computedFields
let $colgroup = h()
if (this.hasNormalizedSlot('table-colgroup')) {
$colgroup = h('colgroup', { key: 'colgroup' }, [
this.normalizeSlot('table-colgroup', { columns: fields.length, fields })
])
}
return $colgroup
}
}
}