Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pointer events #124

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

add pointer events #124

wants to merge 1 commit into from

Conversation

Garados007
Copy link

The pointer events are useful if you want to support mouse like behavior on a mobile screen because it combines the Apis for mouse, touch and normal pens.

This pull request adds three methods that enables the user to subscribe to the pointerdown, pointerup and pointermove events on the document node like onMouseUp, onMouseDown and onMouseMove would do with mouse events.

With this addition the community can create custom drag&drops, menus or drawing boards on mobile screens that behave like on a normal desktop computer.

@loicknuchel
Copy link

I just need that, would be awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants