Touch Events
Touch Events on PEP.
Usage
Using JSPM (ECMAScript / ES6 Module)
Install the library.
jspm install touch-events=github:casperlamboo/TouchEvents
Include the library.
;
Using NPM (CommonJS module)
Install the library.
npm install touch-events
Include the library.
var touchEvents = ;
API
createListener
eventListener:EventDispatcher = touchEvents
addEventListener
// gesture regonizerseventListener;eventListener;eventListener;eventListener;eventListener;eventListener;eventListener;eventListener;eventListener;eventListener;eventListener; // original touch eventseventListener;eventListener;eventListener;
setConfig
touchEvents config = DRAG_THRESHOLD: Number = 10;