2014/02/13

[jQuery]touchmove、touchstart、touchendのバインドについて

jQuery mobileではなく、普通のjQueryでもバインドできるのかなーっと思っていたら、どうやらできるようです。

$(window).on('touchstart touchmove touchend',function(){


});
iOSで試したら動きましたー。

これ便利ー。

0 コメント:

コメントを投稿