Skip to content

add pointer events#124

Open
Garados007 wants to merge 1 commit intoelm:masterfrom
Garados007:master
Open

add pointer events#124
Garados007 wants to merge 1 commit intoelm:masterfrom
Garados007:master

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