has-hover
Check if hover is available on the current device
Last updated 8 years ago by dfcreative .
MIT · Repository · Bugs · Original npm
$ cnpm install has-hover 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.1                                ...           latest (8 years ago)

1 Versions

  • 1.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org