npm.io
1.0.1 • Published 9 years ago

has-hover

Licence
MIT
Version
1.0.1
Deps
1
Vulns
0
Weekly
0
Stars
4

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.

Keywords