36 lines
747 B
TypeScript
36 lines
747 B
TypeScript
Component({
|
|
options: {
|
|
//@ts-ignore
|
|
styleIsolation: 'apply-shared',
|
|
},
|
|
properties: {
|
|
// icon name
|
|
name: {
|
|
type: String,
|
|
value: '',
|
|
optionalTypes: [String],
|
|
},
|
|
// icon color
|
|
color: {
|
|
type: String,
|
|
value: '',
|
|
optionalTypes: [String],
|
|
},
|
|
// icon size
|
|
size: {
|
|
type: String,
|
|
value: '',
|
|
optionalTypes: [String],
|
|
},
|
|
// icon classPrefix
|
|
classPrefix: {
|
|
type: String,
|
|
value: 'icon',
|
|
optionalTypes: [String],
|
|
},
|
|
},
|
|
externalClasses: ['ext-class'],
|
|
data: {},
|
|
methods: {},
|
|
});
|