JSPM

has-hover

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 210038
  • Score
    100M100P100Q165503F
  • License MIT

Check if hover is available on the current device

Package Exports

  • has-hover

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (has-hover) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

has-hover unstable Build Status

Check if hover is available on the current device.

npm install has-hover

const isHover = require('has-hover')

if (!isHover) {
    //do touch-only routine
}

If you find edge case, please address issues.