Mathieu Jouhet
1e802bdf88
fix(removeEvent): fix detachEvent typo ( #475 )
1 year ago
jaywcjlove
99025bbc59
chore: fix eslint error. #473
1 year ago
rockindolphin
4fc526d72e
fix: fix filter func ( #473 )
...
do not ignore several types of INPUT
1 year ago
jaywcjlove
bb1046c047
fix: fix unbind method issue. #470
1 year ago
qiongshusheng
816d76d13d
fix: Keyboard event memory leak ( #469 )
...
* fix: Keyboard event memory leak
* fix: add dist
1 year ago
AllenLee
964d66f0d9
fix: `single` config will conflict with other combinations ( #465 )
1 year ago
AllenLee
7bf34e9dfa
feat: add single option. ( #463 )
...
* feat: single callback
* type: Option.single
1 year ago
jaywcjlove
f26f95c63b
clean: Optimize `getAllKeyCodes` method & compatible with older browers. ( #439 )
2 years ago
Lokesh Pathrabe
7a8e2b2e4b
Add getAllKeyCodes method to API ( #439 )
2 years ago
jaywcjlove
e193f9a32e
fix: fix callback not executing when scope is `all`. ( #434 ) ( #432 )
2 years ago
jaywcjlove
42c82b9ea1
feat: add `keys` data to the callback function HotkeysEvent. ( #436 )
2 years ago
jaywcjlove
830e850f96
fix: fix key combination trigger issue. ( #426 ) ( #433 ) ( #432 )
2 years ago
Blue Daydreaming
8b8d7d968a
fix: downkeys order error in multi listeners ( #433 )
...
Co-authored-by: Weng Yuxuan <yuxuan.weng@dealbridge.tech>
2 years ago
Zhanghao
c9f693b2f6
fix: fix trigger isn't work well in duplicate shortcut #403 ( #406 )
...
* update readme
* fix: trigger api support multi listeners #403
2 years ago
Lee Gary
5f108c506f
feat: implement getPressedKeyString for #360 , #377 ( #394 )
2 years ago
Kbscript
294093d60d
chore: add some special symbols ( #384 )
3 years ago
Sam Magura
4aab68fd94
fix: Make it so unbind('') does not remove all event handlers ( #372 )
3 years ago
Ilya Suhodolskiy
56af32dccb
feat: add capture option ( #368 )
3 years ago
jaywcjlove
6cd3f6d1f3
feat: exports keyMap/modifier/modifierMap object.
3 years ago
jaywcjlove
2f32c2fe22
feat: add trigger method ( #354 ).
3 years ago
zhaokun1219
973e607a26
fix: Fix problem with element scope ( #352 )
3 years ago
mwoenker
1b34ff3a48
fix: Remove handlers (rather than setting to {}) in eachUnbind ( #345 )
3 years ago
zhaokun1219
9145770285
fix: Fix the bug that the window will bind multiple focus events when hotkeys is called multiple times by different element option ( #347 )
3 years ago
jaywcjlove
df587d4f28
chore(deps): update dependency kkt to v6.7.2
4 years ago
Lage, Mateus Mamede
6261dbd31d
Add numpad special keys
4 years ago
jaywcjlove
0bfabfa2bf
fix: Ignore keypressed in select elements that support keyboard data input. #193
5 years ago
mykola.dudar
fdcc2d3201
Command key kept pressed fix
5 years ago
jaywcjlove
bcb3f691f1
chore: Fix ESLint errors.
5 years ago
Niklas
2c2c9d8aa5
Fix Firefox on macOS regression ( #162 )
5 years ago
jaywcjlove
5d49f18fcc
chore: Add code comments.
5 years ago
jaywcjlove
054d0bb4a5
fix: More browser support. #129
5 years ago
Niklas
4cac856524
Set `ctrl` and `alt` modifiers when `altgr` is pressed ( #129 )
...
This solves the issue in Firefox on Windows where hotkeys corresponding to special characters would not trigger. An example of this is `ctrl+alt+m` on a Swedish keyboard which is used to type `μ`.
5 years ago
Sebastian Kreft
08368e075d
Allow events in read only TextArea ( #119 )
...
Fix default filtering strategy to correctly allow events for text area elements when is set to read only.
5 years ago
jaywcjlove
98ce2d6fb6
chore: Modify the code comment. #109
5 years ago
Logan Bittner
f3cc7a2585
Fixes `command` key on Firefox MacOSx ( #109 )
...
* Fixes command key in FireFox
* revert main file
5 years ago
jaywcjlove
6c8931a326
chore: Optimization code.
6 years ago
Inside
2616b67a6f
feat: custom splitkey ( #105 )
6 years ago
jaywcjlove
30d2160ef9
Fix right command does not fires on macOS #92 .
6 years ago
JakeBC
be2c9b7164
fix: Allow keydown = false option ( #100 )
6 years ago
jaywcjlove
edf976c4bc
Fix custom keyboard shortcut issues caused by system keyboard shortcuts. #86
6 years ago
月迷津渡
b9cde08e0e
fix: unbind keys issue ( #82 )
6 years ago
Inside
e3c00e27d3
chore: do filter in advance ( #76 )
6 years ago
Inside
07d9139208
if key is not in _handlers,keydown cannot trigger if keyup event is setted ( #74 )
6 years ago
Inside
8e2c1b56e1
feat: modify filter function on readOnly element ( #73 )
6 years ago
jaywcjlove
3bbefc82d4
Fix input method editor is processing key input issue. #72
6 years ago
jaywcjlove
0850be67f2
Compatible with low-level browsers. #70
6 years ago
Inside
9e48e887ad
fix: replace isSameNode with === ( #70 )
6 years ago
Inside
df4ab96941
fix: Modify closure keyup error, modify isBindElement error ( #69 )
6 years ago
jaywcjlove
084ef71c60
Upgrade babel 7.
6 years ago
jaywcjlove
e469a29d9c
Fix multiple key combination binding issues. #68
6 years ago