Releases: SpringRoll/Keyboard
Releases · SpringRoll/Keyboard
New release to fix detection
1.0.1
1.0.0
Changes from last version:
- Arrays of key names can be passed to all key functions -
addKeyUp(),removeKeyDown(), etc. - Added
addKeyRepeat()andremoveKeyRepeat(), for getting repeated keydown events - does not trigger on the initial press. - Added
restrictScrollingKeys()to prevent default behavior on arrow keys and the spacebar. - Added Application option
preventScrollingKeys(boolean) to automatically callrestrictScrollingKeys() preventDefault()is called on the key up and down events if any listener says that default behavior should be prevented.
Fixed
- If default behavior should be prevented,
preventDefault()is correctly called on keydown events.
0.1.5
0.1.4
- Fixed bug in
removeListenerwhich was throwingReferenceError: i is not defined
0.1.3
- Defaulting the Application option
keepFocusto be true, this option was implemented specifically for things like Keyboard class which need to use keyboard control cross-domain within an iframe. For more information aboutkeepFocussee the SpringRoll Container module. - Updated documentation
0.1.2
- Fixed issues in addKeyDown and addKeyUp, as well as removal of those listeners.
- Updated documentation
0.1.1
Updated to SpringRoll 0.3.8+
0.1.0
Initial release