What Input?

A global utility for tracking the current input method (mouse, keyboard, or touch), as well as the current intent (mouse, keyboard, or touch).

Tab, click or tap the links and form controls to see how What Input allows them to be styled differently.

data-whatinput
initial
data-whatintent
initial
data-whathint
unknown
data-whatelement
–
data-whatclasses
–