2018-08-21 15:53:31 +08:00

21 lines
263 B
JavaScript

Component({
options: {
addGlobalClass: true
},
externalClasses: ['custom-class'],
properties: {
info: null,
name: String,
size: String,
color: String
},
methods: {
onClick() {
this.triggerEvent('click');
}
}
});