bootstrap-vue
Version:
With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens
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
}
}
}