Releases: blakeembrey/keyboard-manager
Releases · blakeembrey/keyboard-manager
Optimization: normalize key once
ESM package
Support undefined `event.key`
Add ES2015 module to package
Void Returns
Fixed
- Void returns where type doesn't matter
Use Event Key
Changed
- Use
event.key
overevent.which
(DOMString versus deprecated numeric key code)
Filter Input Events
Added
- Expose
filterInputEvent
andisInputEvent
for ignoringinput
-like keyboard events
Changed
- Merge listener function signatures - previous form was undocumented, now it's consistent
Simplify Build
Changed
- Change the concept of shortcut maps and arrays, use a single "listener" queue with support for propagation which cleverly enables "scopes"
Initial Release
Basic implementation for use in DOM-based applications (e.g. React.js) by implementing a shortcut queue.