Skip to content

jcheroske/meteor-modernizr-touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Modernizr with just the touch tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published