A global utility for tracking the current input method (mouse/pointer, keyboard or touch).
Full Changelog: https://github.com/ten1seven/what-input/compare/v5.2.11...v5.2.12
useCapture
so events can be detected before preventDefault
cancels them on local listeners (h/t jojo080889).DOMContentLoaded
event before looking for data-whatpersist
attribute on body.dataset
in IE10.data-whatpersist="false"
attribute to the <html>
or <body>
tag to disable usage of session storage to persist input/intent across pages.activeElement
is null bug in IE is fixed (thanks @EasterPeanut).