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

[Feature] useMouse #53

Open
simmo opened this issue Apr 6, 2020 · 0 comments
Open

[Feature] useMouse #53

simmo opened this issue Apr 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@simmo
Copy link
Owner

simmo commented Apr 6, 2020

Add effect to capture mouse position.

Suggested API:
useMouse(ref: HTMLElement = document.body): MouseEvent

Ref MouseEvent - https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent

@simmo simmo added the enhancement New feature or request label Apr 6, 2020
@simmo simmo changed the title [Features] useMouse [Feature] useMouse Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant