-
Notifications
You must be signed in to change notification settings - Fork 252
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
feat: add pointer
API
#750
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit fb1b5be:
|
Codecov Report
@@ Coverage Diff @@
## userEvent14 #750 +/- ##
==============================================
Coverage 100.00% 100.00%
==============================================
Files 50 66 +16
Lines 965 1332 +367
Branches 389 502 +113
==============================================
+ Hits 965 1332 +367
Continue to review full report at Codecov.
|
* feat: add `pointer` API * refactor * add `pointerMove` * fix fake event bubbling * sequences of pointer actions * default to mouse pointer * add touch tests * add enter/leave events on touch down/up * add tests and handle errors * add tests * fix istanbul ignore see kentcdodds/kcd-scripts#218 * add test
* feat: add `pointer` API * refactor * add `pointerMove` * fix fake event bubbling * sequences of pointer actions * default to mouse pointer * add touch tests * add enter/leave events on touch down/up * add tests and handle errors * add tests * fix istanbul ignore see kentcdodds/kcd-scripts#218 * add test
What:
add a
pointer
API to handle pressing and releasing pointer device (buttons)Why:
Closes #742
How:
Checklist: