vuetify
Version:
Vue.js 2 Semantic Component Framework
25 lines (21 loc) • 499 B
JavaScript
/* @vue/component */
export default {
methods: {
genTFoot () {
if (!this.$slots.footer) {
return null
}
const footer = this.$slots.footer
const row = this.hasTag(footer, 'td') ? this.genTR(footer) : footer
return this.$createElement('tfoot', [row])
},
genActionsFooter () {
if (this.hideActions) {
return null
}
return this.$createElement('div', {
'class': this.classes
}, this.genActions())
}
}
}