quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
24 lines (18 loc) • 378 B
JavaScript
import Vue from 'vue'
import { slot } from '../../utils/slot.js'
export default Vue.extend({
name: 'QTr',
props: {
props: Object
},
render (h) {
const on = this.$listeners
return h(
'tr',
this.props === void 0 || this.props.header === true
? on
: { on, class: this.props.__trClass },
slot(this, 'default')
)
}
})