mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
refactor(gesture): update Gesture API to latest (#19671)
This commit is contained in:
@ -38,7 +38,7 @@ export class Nav implements NavOutlet {
|
||||
@Watch('swipeGesture')
|
||||
swipeGestureChanged() {
|
||||
if (this.gesture) {
|
||||
this.gesture.setDisabled(this.swipeGesture !== true);
|
||||
this.gesture.enable(this.swipeGesture === true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user