Releases: LCluber/Krait.js
Releases · LCluber/Krait.js
PreventDefault option
v2.1.0
v2.0.2
v2.0.1
v2.0.0
2.0.0 (2019-08-10)
Features
- command: added getInputsAscii() method to command class (c8afdd8)
- command: added setinputs() methods to command class (a72794e)
- groups: commands can be grouped (fc57b71)
- isascii: extended parameter set to false by default (34fc772)
- keyboard: added start() et stop() methods (d82ddd7)
BREAKING CHANGES
- groups: have to give a group name when adding commands
- keyboard: must call Keyboard.start() after Keyboard initilisation in order to start listening
to key events
v1.0.0
1.0.0 (2019-07-27)
Bug Fixes
- command: better behavior of chained inputs (93a772d)
Code Refactoring
- addcommand: control keys parameters now sent in an object (dccbea9)
Features
- callback: now returns false on key up (ba5ac0d)
- keyboard: added getcommandinputsascii method (5bb6504)
BREAKING CHANGES
- addcommand: control keys sent as object
Multiple keystroke detection
- Multiple keystroke detection
- Ctrl, Alt, Shift detection
- addInput method now called addCommand and accept an array of keys.
- Krait.js published on NPM at @lcluber/kraitjs.
- Updated README.md with NPM installation procedure.
Lighter library
- Deleted useless method in Input class
ES6 and IIFE
- Library exported as ES6 and IIFE modules instead of UMD.
- KRAIT namespace becomes Krait
New documentation
Documentation automatically generated in /doc folder
Typedoc and grunt-typedoc added in devDependencies
New "typedoc" task in Gruntfile.js
Typescript upgraded to version 2.9.2
INSTALL.md becomes NOTICE.md and RELEASE_NOTES.md becomes CHANGELOG.md