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

Docs: event.preventDefault() and event.stopPropagation() not existing #88

Open
cookiengineer opened this issue Jan 27, 2018 · 0 comments

Comments

@cookiengineer
Copy link
Contributor

Minor issue: The docs seem to be outdated when it comes to the NMLEvent or NidiumEvent.

For these cases there's no event.preventDefault() and no event.stopPropagation() methods (just in case some people are wondering or are using libraries that would expect those to exist):

  • window._onkeydown
  • window._onmousedown
  • window._onmousemove
  • window._onmouseup

It might make sense to link the docs to the NidiumEvent or NMLEvent, depending on what is used there - e.g. NidiumEvent - to prevent confusion.

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