Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Translating mouse events into touch events #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RVenkatesh
Copy link

Add the required objects[touches, changedTouches, targetTouches] inside
the event object generated by the mouse events and relay them as touch.
This causes the gestures to be handled in desktop browsers just the
same way like they are handled in the touch devices.

Add the required objects[touches, changedTouches, targetTouches] inside
the event object generated by the mouse events and relay them as touch.
This causes the gestures to be handled in desktop browsers just the
same way like they are handled in the touch devices.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant