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

Adds support for multiple hotkey combinations to callers. #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ export default {
'enter': {
keydown: this.hide,
keyup: this.show
}
},
// bind one method to multiple hotkeys or combinations
'h ctrl+h': this.hide,
's ctrl+s': this.show
}
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta content="ie=edge" http-equiv=x-ua-compatible><title>V-Hotkey</title><link href=/v-hotkey/css/chunk-vendors.aa245b99.css rel=stylesheet><link href=/v-hotkey/css/index.a639c980.css rel=stylesheet></head><body><div id=app></div><script src=/v-hotkey/js/chunk-vendors.6c30874f.js></script><script src=/v-hotkey/js/index.91841365.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta content="ie=edge" http-equiv=x-ua-compatible><title>V-Hotkey</title><link href=/v-hotkey/css/chunk-vendors.aa245b99.css rel=stylesheet><link href=/v-hotkey/css/index.e653ed2f.css rel=stylesheet></head><body><div id=app></div><script src=/v-hotkey/js/chunk-vendors.6c30874f.js></script><script src=/v-hotkey/js/index.0cda0251.js></script></body></html>
2 changes: 2 additions & 0 deletions docs/js/index.0cda0251.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/js/index.0cda0251.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/js/index.91841365.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/js/index.91841365.js.map

This file was deleted.

Loading