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

Add getAllKeyCodes method to API #439

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

lokeshpathrabe
Copy link
Contributor

Add a new method to get list of all the registered codes from _handlers object. This was also raised in #223 way back. Though the workaround could work I think this could be pretty useful to display something like a map of hotkeys on a application.

@jaywcjlove jaywcjlove merged commit 7a8e2b2 into jaywcjlove:master Aug 2, 2023
jaywcjlove added a commit that referenced this pull request Aug 2, 2023
github-actions bot pushed a commit that referenced this pull request Aug 2, 2023
@jaywcjlove
Copy link
Owner

@lokeshpathrabe Thanks a lot for your contribution.

Modify the getAllKeyCodes method, compile and generate less code, and be compatible with older browsers

jaywcjlove added a commit that referenced this pull request Aug 2, 2023
github-actions bot pushed a commit that referenced this pull request Aug 2, 2023
jaywcjlove added a commit that referenced this pull request Aug 2, 2023
github-actions bot pushed a commit that referenced this pull request Aug 2, 2023
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