UNPKG

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

25 lines (22 loc) 922 B
import Vue from '../../vue'; import { NAME_TABLE_SIMPLE } from '../../constants/components'; import idMixin from '../../mixins/id'; import normalizeSlotMixin from '../../mixins/normalize-slot'; // Table mixins import stackedMixin from './helpers/mixin-stacked'; import tableRendererMixin from './helpers/mixin-table-renderer'; // b-table-simple component definition // @vue/component export var BTableSimple = /*#__PURE__*/Vue.extend({ name: NAME_TABLE_SIMPLE, // 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: function isTableSimple() { return true; } } // render function provided by table-renderer mixin });