Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 479 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 479 Bytes

Modernizr touchevents

Modernizr build that only tests for the presence of touchscreen events support.

Installation

$ meteor add jcheroske:modernizr-touch

Usage

If the client is touch-event savvy, the <html> tag will have a touchevents class added:

<html class="touchevents">
  ...
</html>

If the client is not a touchscreen device, a no-touchevents class will be added instead:

<html class="no-touchevents">
  ...
</html>