mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
refactor(gesture): update Gesture API to latest (#19671)
This commit is contained in:
@ -92,7 +92,7 @@ export class Toggle implements ComponentInterface {
|
||||
disabledChanged() {
|
||||
this.emitStyle();
|
||||
if (this.gesture) {
|
||||
this.gesture.setDisabled(this.disabled);
|
||||
this.gesture.enable(!this.disabled);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user