vue-tables-2
Version:
Vue.js 2 grid components
13 lines (11 loc) • 336 B
JavaScript
module.exports = function (value) {
if (this.$parent.$scopedSlots && this.$parent.$scopedSlots['__group_meta']) {
var data = this.opts.groupMeta.find(function (val) {
return val.value === value;
});
if (!data) return '';
return this.$parent.$scopedSlots['__group_meta'](data);
}
return '';
};
;