-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Milestone
Description
It could be generally useful if the event passed to the handlers could also hold the current X & Y coordinates of the mouse at the time of firing. This could be added as part of the event.data, or more seamlessly (though potentially an unwanted side-effect for some) copied over the pageX/pageY of the returned event itself. This would make it much easier for those who want their handler to, for example, position something relative to the location of the pointer at the time of firing.
Thoughts? If I have time and there's interest, I can put an example implementation in a pull request.
Metadata
Metadata
Assignees
Labels
No labels