Reference dragLeave()

dragLeave()

Calls a function when a file is dragged off the element.

Calling myElement.dragLeave(false) disables the function.

Examples

Syntax

dragLeave(fxn)

Parameters

fxn

function to call when the file is dragged off 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!

Related References