vue-tables-2
Version:
Vue.js 2 grid components
36 lines (34 loc) • 951 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _default = {
name: "RLPerPageSelector",
inject: ['opts', 'limit', 'setLimit', 'perPageValues', 'id', 'theme', 'display', 'componentsOverride'],
render: function render() {
var _this = this;
return this.$scopedSlots["default"]({
opts: this.opts(),
perPageValues: this.perPageValues(),
theme: this.theme,
limit: this.limit(),
setLimit: this.setLimit,
id: this.id,
selectClass: this.theme.select,
display: this.display,
selectAttrs: {
id: "VueTables__limit_".concat(this.id),
"class": this.theme.select,
value: this.limit()
},
selectEvents: {
change: function change(e) {
return _this.setLimit(e);
}
},
override: this.componentsOverride.perPageSelector
});
}
};
exports["default"] = _default;