开发者社区> 镜像站> NPM> has-touch
has-touch
utility that returns whether the browser supports touch events or not
Last updated 6 years ago by radubrehar .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install has-touch 
SYNC missed versions from official npm registry.

has-touch

Touch support detection module on npm

Install

$ npm install --save has-touch

Usage

var hasTouch = require('has-touch')

hasTouch === true || hasTouch === false

Current Tags

  • 1.0.1                                ...           latest (6 years ago)

2 Versions

  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago