Detalhes do pacote

has-touch

radubrehar14.4kMIT1.0.1

utility that returns whether the browser supports touch events or not

touch, has, test, support

readme (leia-me)

has-touch

Touch support detection module on npm

Install

$ npm install --save has-touch

Usage

var hasTouch = require('has-touch')

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