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

How to handle key event. #41

Closed
gdswapnil11 opened this issue Jun 27, 2019 · 2 comments
Closed

How to handle key event. #41

gdswapnil11 opened this issue Jun 27, 2019 · 2 comments

Comments

@gdswapnil11
Copy link

@vasturiano, how to handle key event in force-graph.

@vasturiano
Copy link
Owner

@gdswapnil11 you can detect key press events external to the library, directly on your DOM element. Using the regular DOM events API, like https://developer.mozilla.org/en-US/docs/Web/API/Document/keydown_event

@gdswapnil11
Copy link
Author

thanks :)

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

No branches or pull requests

2 participants