quasar-framework
Version:
Build responsive SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase
15 lines (14 loc) • 462 B
JavaScript
export default {
name: 'QCardTitle',
render (h) {
return h('div', {
staticClass: 'q-card-primary q-card-container row no-wrap'
}, [
h('div', {staticClass: 'col column'}, [
h('div', {staticClass: 'q-card-title'}, this.$slots.default),
h('div', {staticClass: 'q-card-subtitle'}, [ this.$slots.subtitle ])
]),
h('div', {staticClass: 'col-auto self-center q-card-title-extra'}, [ this.$slots.right ])
])
}
}