is-touch-device
Is the current JS environment a touch device?
Usage
var isTouchDevice = require('is-touch-device');
var assert = require('assert');
assert.equal(typeof isTouchDevice(), 'boolean');
License |
License |
---|---|
GroupId | GroupIdorg.webjars.npm |
ArtifactId | ArtifactIdis-touch-device |
Last Version | Last Version1.0.1 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptionis-touch-device
WebJar for is-touch-device
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
is-touch-device-1.0.1.pom | |
is-touch-device-1.0.1.jar | 10 KB |
is-touch-device-1.0.1-sources.jar | 22 bytes |
is-touch-device-1.0.1-javadoc.jar | 22 bytes |
Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-touch-device/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>is-touch-device</artifactId>
<version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-touch-device/
implementation 'org.webjars.npm:is-touch-device:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/is-touch-device/
implementation ("org.webjars.npm:is-touch-device:1.0.1")
'org.webjars.npm:is-touch-device:jar:1.0.1'
<dependency org="org.webjars.npm" name="is-touch-device" rev="1.0.1">
<artifact name="is-touch-device" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-touch-device', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "is-touch-device" % "1.0.1"
[org.webjars.npm/is-touch-device "1.0.1"]
Is the current JS environment a touch device?
var isTouchDevice = require('is-touch-device');
var assert = require('assert');
assert.equal(typeof isTouchDevice(), 'boolean');