リファレンス touchEnded()

touchEnded()

ユーザーが要素に触れるのを止めたときに関数を呼び出します。

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

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

実例

シンタックス

touchEnded(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!

関連するリファレンス