Skip to content

Add FFI for MouseEvent::offsetX/Y #2

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

Closed
wants to merge 1 commit into from
Closed

Add FFI for MouseEvent::offsetX/Y #2

wants to merge 1 commit into from

Conversation

JordanMartinez
Copy link
Contributor

@JordanMartinez JordanMartinez commented Jul 24, 2018

Fixes #1

@garyb
Copy link
Member

garyb commented Dec 2, 2018

Sorry, I missed this PR somehow. Thanks for the submission, but offsetX / offsetY is not part of the spec, so even though it might be commonly available, I'm going to decline this, as we only provide spec-based implementations in these -web libraries.

@JordanMartinez
Copy link
Contributor Author

I agree with this decision. I created this when first learning about HTML events and was surprised to see that they weren't included. It was only recently that I learned that it's not a standardized API.

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