2016-06-22から1日間の記事一覧
特定の要素のみでタッチイベント取りたかったので、 以下のように対応した。 ベースにしたのは以下URL qiita.com var Y0,Y1,Y2; $('.target') .bind( 'touchstart', function(e){ doSomeThing(); Y0 = $('body').scrollTop(); Y1 = e.originalEvent.touches[…
特定の要素のみでタッチイベント取りたかったので、 以下のように対応した。 ベースにしたのは以下URL qiita.com var Y0,Y1,Y2; $('.target') .bind( 'touchstart', function(e){ doSomeThing(); Y0 = $('body').scrollTop(); Y1 = e.originalEvent.touches[…