Recommend this page to a friend! |
Download .zip |
Info | View files (3) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2013-01-23 (3 years ago) | Not enough user ratings | Total: 173 | All time: 269 This week: 34 |
Version | License | JavaScript version | Categories | |||
tutechie 1.0 | MIT/X Consortium ... | 1.0 | jQuery, Events |
#Tutechie Tutechie is a lightweight touch event support library compatible with jquery / zepto or [basic-compat][1] (basic compat is a really basic compatibility layer with zepto/jquery) The goal of this library is to allow binded interaction to work the same on desktop and mobile browsers. ## Implemented events: events names all starts with a capital letter to avoid conflict with any additional loaded library. - **Touchstart:** triggered at touch start or mousedown if no touchStart event is enabled on android you should preventDefault the event emitted to track down further events - **Tap:** triggered when no movement occured and touch event is released before a Heldtap is triggered - **Heldtap:** this is a tap which duration was longer than longDelay it doesn't require to be ended to get triggered (no need to release the touchEvent) - **Move:** triggered after a Touchstart when moving arround more than treshold (extra event properties: pageX,pageY,distanceX,distanceY) - **Moveend:** triggered after a Move event occured when the user release the touch event (same extra properties as Move events) - **Swipe:** triggered when a user Move more than treshold px in a given direction (extra event properties: direction) - **Zoomin/Zoomout:** this is a pinch open/close or a mousewheel event (extra event properties: isTouchEvent) [1]: https://github.com/malko/basic-compat |
Files |
File | Role | Description |
---|---|---|
README.md | Doc. | Documentation |
tutechie.html | Example | sample |
tutechie.js | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|