mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(all): strict boolean conditions
This commit is contained in:
@@ -118,9 +118,9 @@ export class Toggle {
|
||||
gestureName: 'toggle',
|
||||
gesturePriority: 100,
|
||||
threshold: 0,
|
||||
onStart: this.onStart.bind(this),
|
||||
onMove: this.onMove.bind(this),
|
||||
onEnd: this.onEnd.bind(this),
|
||||
onStart: ev => this.onStart(ev),
|
||||
onMove: ev => this.onMove(ev),
|
||||
onEnd: ev => this.onEnd(ev),
|
||||
});
|
||||
this.disabledChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user