What Input Versions Save

A global utility for tracking the current input method (mouse/pointer, keyboard or touch).

v5.2.12

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ten1seven/what-input/compare/v5.2.11...v5.2.12

v5.2.11

2 years ago
  • Adds useCapture so events can be detected before preventDefault cancels them on local listeners (h/t jojo080889).

v5.2.10

3 years ago
  • Update to TypeScript definition

v5.2.9

3 years ago
  • Fixed: TypeScript definitions via @greypants

v5.2.8

3 years ago
  • Added: TypeScript definitions via @greypants

5.2.7

4 years ago
  • Fixed: Moves sourcemap to sit next to JavaScript package.

v5.2.6

4 years ago
  • Fixed: adds DOMContentLoaded event before looking for data-whatpersist attribute on body.

v5.2.5

4 years ago
  • Fixed: Hotfix for shaky support of dataset in IE10.

v5.2.4

4 years ago
  • Added: Ability to add data-whatpersist="false" attribute to the <html> or <body> tag to disable usage of session storage to persist input/intent across pages.
  • Updated: Build tools and added linting.

v5.2.3

4 years ago
  • activeElement is null bug in IE is fixed (thanks @EasterPeanut).
  • Mousewheel event detection works correctly again.