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.
| Лицензия |
Лицензия |
|---|---|
| Группа | Группаorg.webjars.npm |
| Идентификатор | Идентификаторhas-hover |
| Последняя версия | Последняя версия1.0.1 |
| Дата | Дата |
| Тип | Типjar |
| Описание |
Описаниеhas-hover
WebJar for has-hover
|
| Ссылка на сайт |
Ссылка на сайт |
| Система контроля версий |
Система контроля версий |
| Имя Файла | Размер |
|---|---|
| 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 |
| Обзор |
<!-- 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"]
| Идентификатор библиотеки | Тип | Версия |
|---|---|---|
| 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.