リファレンス touchMoved()

touchMoved()

ユーザーが要素にタッチして動かしたときに関数を呼び出します。

myElement.touchMoved(false)を呼び出すと、この関数を無効にします。

注意:タッチ機能はモバイルデバイスでのみ動作します。

実例

シンタックス

touchMoved(fxn)

パラメーター

fxn
Function|Boolean:

タッチが要素上を移動したときに呼び出す関数。 falseを指定すると関数を無効にします。

This page is generated from the comments in src/core/p5.Element.js . Please feel free to edit it and submit a pull request!

関連するリファレンス