Is Touch Screen - Node.js Environment

Node.js examples for Environment:Mobile

Description

Is Touch Screen

Demo Code


function isTouchScreen() {
  return ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch;
}

Related Tutorials