Calls a function when a file is dragged over the element.
Calling myElement.dragOver(false)
disables the function.
Examples
Syntax
dragOver(fxn)
Parameters
fxn
Function|Boolean: function to call when the file is dragged over the element.
false
disables the function.Notice any errors or typos? Please let us know. Please feel free to edit src/dom/p5.Element.js and open a pull request!