/keynav-detect

Primary LanguageJavaScriptMIT LicenseMIT

keynav-detect

This script will add a keynav-mode class to html when user is navigating using the keyboard.

You can use this class to style an element when it has been focused because of a click or not.

License

MIT (c) 2016 David Marchena