레퍼런스 touchEnded()

touchEnded()

Calls a function when the user stops touching the element.

Calling myElement.touchMoved(false) disables the function.

Note: Touch functions only work on mobile devices.

예제

구문

touchEnded(fxn)

매개변수

fxn

function to call when the touch ends. false disables the function.

Notice any errors or typos? Please let us know. Please feel free to edit src/core/p5.Element.js and open a pull request!

관련 레퍼런스