UNPKG

bootstrap-vue

Version:

BootstrapVue, with over 40 plugins and more than 80 custom components, custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-AR

36 lines (31 loc) 905 B
import Vue from '../../utils/vue' // Mixins import idMixin from '../../mixins/id' import normalizeSlotMixin from '../../mixins/normalize-slot' // Main table renderer mixin import tableRendererMixin from './helpers/mixin-table-renderer' // Feature miins import stackedMixin from './helpers/mixin-stacked' // b-table-simple component definition // @vue/component export const BTableSimple = /*#__PURE__*/ Vue.extend({ name: 'BTableSimple', // Order of mixins is important! // They are merged from first to last, followed by this component. mixins: [ // Required mixins idMixin, normalizeSlotMixin, tableRendererMixin, // feature mixin // Stacked requires extra handling by users via // the table cell `stacked-heading` prop stackedMixin ], computed: { isTableSimple() { return true } } // render function provided by table-renderer mixin })