has-touch

utility that returns whether the browser supports touch events or not


Keywords
touch, has, test, support, event, events
License
MIT
Install
npm install has-touch@1.0.1

Documentation

has-touch

Touch support detection module on npm

Install

$ npm install --save has-touch

Usage

var hasTouch = require('has-touch')

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