jQuery Plugin for touch events
version 1.0.0
autor Alexey Kupriyanenko (a.kupriyanenko@gmail.com)
http://upwards.github.com/jquery-touch/
Start touch event
$('#elem').touchstart(function(event) {
$(this).text('touchstart');
})
Ent touch event
$('#elem').touchend(function(event) {
$(this).text('touchend');
})
Leave touch event
$('#elem').touchleave(function(event) {
$(this).text('touchleave');
})
Enter touch event
$('#elem').touchenter(function(event) {
$(this).text('touchenter');
})
Listen touch event after move over element
$('#elem').touchup(function(event) {
$(this).text('touchup');
})
Click touch event
$('#elem').touchclick(function(event) {
$(this).text('touchup');
})
Listen move touch event
$('#elem').touchmove(function(event) {
$(this).css({
left: event.toucheX,
top: event.toucheY
})
})