This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vuetify/lib/components/VDataTable/VDataTableHeader.js

30 lines
805 B
JavaScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
import "../../../src/components/VDataTable/VDataTableHeader.sass";
import Vue from 'vue';
import dedupeModelListeners from '../../util/dedupeModelListeners';
import rebuildSlots from '../../util/rebuildFunctionalSlots';
import VDataTableHeaderMobile from './VDataTableHeaderMobile';
import VDataTableHeaderDesktop from './VDataTableHeaderDesktop';
export default Vue.extend({
name: 'v-data-table-header',
functional: true,
props: {
mobile: Boolean
},
render(h, {
props,
data,
slots
}) {
dedupeModelListeners(data);
const children = rebuildSlots(slots(), h);
if (props.mobile) {
return h(VDataTableHeaderMobile, data, children);
} else {
return h(VDataTableHeaderDesktop, data, children);
}
}
});
//# sourceMappingURL=VDataTableHeader.js.map