From 2ea5c1341b4a69e7912642f4ce74f8327e8b9026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Wed, 23 Sep 2015 10:40:00 +0200 Subject: [PATCH] README: Add example for using PEP with jQuery Fixes #163 --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 49274de2..35df7b07 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,21 @@ By default, no Pointer Events are sent from an element. This maximizes possibili 1. As elements come and go, or have their `touch-action` attribute changed, they will send the proper set of Pointer Events. +#### Using PEP with jQuery + +You can use pointer events with jQuery and PEP: +```html +
+ + + +``` +Check out [this jsbin demo](http://jsbin.com/bojumofowa/1/edit?html,css,js,output) for a full demo. + ## Polyfill Details ### Getting Started