mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
always add touch events
This commit is contained in:
@ -33,11 +33,9 @@ export class TapClick {
|
||||
zone.runOutsideAngular(() => {
|
||||
addListener('click', self.click.bind(self), true);
|
||||
|
||||
if (self.usePolyfill) {
|
||||
addListener('touchstart', self.touchStart.bind(self));
|
||||
addListener('touchend', self.touchEnd.bind(self));
|
||||
addListener('touchcancel', self.pointerCancel.bind(self));
|
||||
}
|
||||
|
||||
addListener('mousedown', self.mouseDown.bind(self), true);
|
||||
addListener('mouseup', self.mouseUp.bind(self), true);
|
||||
|
Reference in New Issue
Block a user