UNPKG

v-tables-3

Version:

Vue.js 3 grid components

22 lines (18 loc) 568 B
"use strict"; // import EventBus from '../bus'; module.exports = function () { var _this = this; var el; // if (this.opts.destroyEventBus) { // EventBus.$off(); // EventBus.$destroy(); // } if (this.vuex && !this.opts.preserveState) { this.$store.unregisterModule(this.name); } if (this.opts.filterByColumn) { this.datepickerColumns.forEach(function (column) { el = $(_this.$el).find("#VueTables__" + $.escapeSelector(column) + "-filter").data('daterangepicker'); if (el) el.remove(); }); } };