vuetify
Version:
Vue.js 2 Semantic Component Framework
24 lines (20 loc) • 473 B
JavaScript
export default {
methods: {
genTFoot () {
if (!this.$slots.footer) {
return null
}
const footer = this.$slots.footer
const row = this.needsTR(footer) ? this.genTR(footer) : footer
return this.$createElement('tfoot', [row])
},
genActionsFooter () {
if (this.hideActions) {
return null
}
return this.$createElement('div', {
'class': this.classes
}, this.genActions())
}
}
}