mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(all): updated tslint rules to latest
This commit is contained in:
@ -43,13 +43,13 @@ export class Backdrop {
|
||||
unregisterBackdrop(this.doc, this);
|
||||
}
|
||||
|
||||
@Listen('touchstart', {passive: false, capture: true})
|
||||
@Listen('touchstart', { passive: false, capture: true })
|
||||
protected onTouchStart(ev: TouchEvent) {
|
||||
this.lastClick = now(ev);
|
||||
this.emitTap(ev);
|
||||
}
|
||||
|
||||
@Listen('mousedown', {passive: false, capture: true})
|
||||
@Listen('mousedown', { passive: false, capture: true })
|
||||
protected onMouseDown(ev: TouchEvent) {
|
||||
if (this.lastClick < now(ev) - 2500) {
|
||||
this.emitTap(ev);
|
||||
|
Reference in New Issue
Block a user