package
Check if hover is available on the current device
npm install has-hoverGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Check if hover is available on the current device.
const isHover = require('has-hover')
if (!isHover) {
//do touch-only routine
}If you find edge case, please address issues.
Estimated unpacked size across 2 packages.
1.9 kB
Includes dependencies.