UNPKG

bootstrap-vue

Version:

BootstrapVue, with over 40 plugins and more than 75 custom components, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.

37 lines (34 loc) 824 B
import { getComponentConfig } from '../../../utils/config' export default { props: { footClone: { type: Boolean, default: false }, footVariant: { type: String, default: () => getComponentConfig('BTable', 'footVariant') }, tfootClass: { type: [String, Array, Object], default: null }, tfootTrClass: { type: [String, Array, Object], default: null } }, computed: { footClasses() { const variant = this.footVariant || this.headVariant || null return [variant ? `thead-${variant}` : '', this.tfootClass] } }, methods: { renderTfoot() { const h = this.$createElement // Passing true to renderThead will make it render a tfoot return this.footClone ? this.renderThead(true) : h(false) } } }