संदर्भ touchMoved()

touchMoved()

Calls a function when the user touches the element and moves.

Calling myElement.touchMoved(false) disables the function.

Note: Touch functions only work on mobile devices.

उदाहरण

सिंटैक्स

touchMoved(fxn)

पैरामीटर्स

fxn
Function|Boolean:

function to call when the touch moves over the element. 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!

संबंधित संदर्भ