WyTiny 9480e01b9b [refactor] Actionsheet: 升级到自定义组件 (#175)
* fix: temp commit

* fix: temp commit

* fix: add custom actionsheet
2018-04-02 22:24:01 +08:00

35 lines
510 B
JavaScript

Component({
externalClasses: ['custom-class'],
properties: {
type: {
type: String,
value: '',
},
size: {
type: String,
value: '',
},
plain: {
type: Boolean,
value: false,
},
disabled: {
type: Boolean,
value: false,
},
loading: {
type: Boolean,
value: false,
},
openType: {
type: String,
value: ''
}
},
methods: {
handleTap() {
this.triggerEvent('btnclick');
}
}
});