has-hover
Check if hover is available on the current device. Try it out.
const isHover = require('has-hover')
if (!isHover) {
//do touch-only routine
}
If you find edge case, please address issues.
License |
License |
---|---|
GroupId | GroupIdorg.webjars.npm |
ArtifactId | ArtifactIdhas-hover |
Last Version | Last Version1.0.1 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptionhas-hover
WebJar for has-hover
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
has-hover-1.0.1.pom | |
has-hover-1.0.1.jar | 5 KB |
has-hover-1.0.1-sources.jar | 22 bytes |
has-hover-1.0.1-javadoc.jar | 22 bytes |
Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/has-hover/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>has-hover</artifactId>
<version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/has-hover/
implementation 'org.webjars.npm:has-hover:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/has-hover/
implementation ("org.webjars.npm:has-hover:1.0.1")
'org.webjars.npm:has-hover:jar:1.0.1'
<dependency org="org.webjars.npm" name="has-hover" rev="1.0.1">
<artifact name="has-hover" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='has-hover', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "has-hover" % "1.0.1"
[org.webjars.npm/has-hover "1.0.1"]
Group / Artifact | Type | Version |
---|---|---|
org.webjars.npm : is-browser | jar | [2.0.1,3) |
Check if hover is available on the current device. Try it out.
const isHover = require('has-hover')
if (!isHover) {
//do touch-only routine
}
If you find edge case, please address issues.