Skip to content

Releases: LCluber/Krait.js

PreventDefault option

13 Jun 20:39
Compare
Choose a tag to compare
  • New preventDefault option so you can decide if an input should trigger its default behavior when hit or not.

v2.1.0

14 Jan 21:32
Compare
Choose a tag to compare

2.1.0 (2020-01-14)

Features

  • logs: delete Mouette.js dependency (e4765d0)

v2.0.2

04 Jan 20:35
Compare
Choose a tag to compare

2.0.2 (2020-01-04)

Bug Fixes

  • dependency: delete Weejs dependency (a78dceb)

v2.0.1

16 Aug 21:07
Compare
Choose a tag to compare

2.0.1 (2019-08-16)

Bug Fixes

  • dependencies: updated dependencies (198e01c)

v2.0.0

10 Aug 15:38
Compare
Choose a tag to compare

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

27 Jul 20:56
Compare
Choose a tag to compare

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

21 Oct 18:07
Compare
Choose a tag to compare
  • 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

27 Jul 08:30
Compare
Choose a tag to compare
  • Deleted useless method in Input class

ES6 and IIFE

23 Jul 19:50
Compare
Choose a tag to compare
  • Library exported as ES6 and IIFE modules instead of UMD.
  • KRAIT namespace becomes Krait

New documentation

05 Jul 21:24
4f08925
Compare
Choose a tag to compare

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