ver 0.5.51
This commit is contained in:
37
src/components/CTitleSec/CTitleSec.ts
Executable file
37
src/components/CTitleSec/CTitleSec.ts
Executable file
@@ -0,0 +1,37 @@
|
||||
import { defineComponent, ref } from 'vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CTitleSec',
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
bgcolor: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: 'bg-primary',
|
||||
},
|
||||
clcolor: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: 'text-white',
|
||||
},
|
||||
icon: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
components: {},
|
||||
setup(props, { emit }) {
|
||||
|
||||
function iconopen() {
|
||||
return 'fas fa-chevron-down q-icon q-expansion-item__toggle-icon q-focusable rotate-180'
|
||||
}
|
||||
|
||||
return {
|
||||
iconopen,
|
||||
}
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user