refactor(gesture): update Gesture API to latest (#19671)

This commit is contained in:
Liam DeBeasi
2019-10-17 14:18:39 -04:00
committed by GitHub
parent f69f9e4d54
commit df1bc1e627
12 changed files with 33 additions and 33 deletions

View File

@ -75,7 +75,7 @@ export class Refresher implements ComponentInterface {
@Watch('disabled')
disabledChanged() {
if (this.gesture) {
this.gesture.setDisabled(this.disabled);
this.gesture.enable(!this.disabled);
}
}