参考 dragOver()

dragOver()

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

Calling myElement.dragOver(false) disables the function.

示例

语法

dragOver(fxn)

参数

fxn
Function|Boolean: function to call when the file is dragged over the element. false disables the function.

相关参考