Commit Graph

16 Commits (18f2526115e29f095d4188ab04500cfde38c4372)

Author SHA1 Message Date
Ilya Suhodolskiy 791cc61db7
feat: export hotkeys interface (#366) 3 years ago
Valentin Kruglikov 0dc845bac4
type: Fix index.d.ts deleteScope declaration, fix README deleteScope (#362) 3 years ago
jaywcjlove e404a0d444 type: update type (#354). 3 years ago
jaywcjlove 45d4f54dd0 type: fix eslint warnings. 4 years ago
Jessica McElroy 22c39bfae2 [types] fix hotkeys.noConflict() return type 4 years ago
xiejiahe 9334891313 fix: 修复 unbind 解绑所有类型错误
hotkeys.unbind() 抛出异常。
4 years ago
James Chao d3c0d4830b
Allow boolean return value from KeyHandler (#164) 5 years ago
Sebastian Kreft 08fbd1c948 Change filter to accept a KeyboardEvent (#118)
`hotkeys.filter` filter `KeyboardEvent`s and as such the signature should reflect so. The change is specially important if one want to override the default filtering strategy.
5 years ago
jaywcjlove 00a8b67c4a type: Modify Hotkeys Option type. 6 years ago
Mason Bourgeois 134075bbee Make 'scope' an optional option (#95)
The documentation doesn't mention this as a required option, and in use the library works fine passing an options object without `scope`.
6 years ago
jaywcjlove da94c8bae3 Fix the issue of keyup don't exist in typings file. #59 6 years ago
JounQin f21cfd8272 feat: rename param according to source code 6 years ago
JounQin e32f1e9ed3 feat: add new declaration for unbind handler 6 years ago
jaywcjlove cbccf516b9 Fix: index.d.ts exports custom object. #38 6 years ago
jaywcjlove 1eef7e18d1 #30 Fix module name issue. 7 years ago
Eager Wei 3f9ff1e957 add Type definitions 7 years ago