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

enhance matcher, add dragging, special-key and file-input event. #18

Merged
merged 4 commits into from
Jul 20, 2021

Conversation

Sczlog
Copy link
Member

@Sczlog Sczlog commented Jul 19, 2021

  1. add drag event observer and handler;
  2. separate normal texting and speicial key pressing;
  3. add support for file event(file drop and file input's browsing file);
  4. add more click event pattern.
  5. optimize throttler.

1. add drag event observer and handler.
2. separate normal texting and speicial key pressing.
3. add support for file event(file drop and file input's browse file)
make it will flush all throtted function in the invokeall function
1. update index.ts
2. add fix-me to private function usage in machine
@@ -38,6 +38,7 @@
"@types/eventemitter2": "^4.1.0",
"@types/jest": "^26.0.23",
"@types/puppeteer": "^5.4.3",
"@types/wicg-entries-api": "^2020.8.2",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is for entries api used when handle drop file event.
spec: https://wicg.github.io/entries-api/

@netweng
Copy link
Member

netweng commented Jul 20, 2021

LGTM

@netweng netweng merged commit 6036505 into webzard-io:master Jul 20, 2021
@Sczlog Sczlog linked an issue Aug 3, 2021 that may be closed by this pull request
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