Reference dragOver()

dragOver()

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.

This page is generated from the comments in src/core/p5.Element.js . Please feel free to edit it and submit a pull request!

Related References