The element you wish to operate as the drop zone (like
The 'dropzone' element.
The binary file drop callback.
The JSON file drop callback.
The SVG file drop callback.
The text file drop callback.
Removes all listeners (drop, dragover and dragleave).
Restored the drop sensitive element's opacity back to 1.0.
The event.
Toggles the drop sensitive element's opacity to 0.5.
The event.
Internally handle a drop event.
Install the JSON (MIME type json*) file drop callback. Note than only one callback can be installed in this implementation. Calling this method multiple times will overwrite previously installed listeners.
The callback will receive the dropped file content as an object (parsed JSON).
Install the text file (MIME type text/plain) drop callback. Note than only one callback can be installed in this implementation. Calling this method multiple times will overwrite previously installed listeners.
The callback will receive the dropped file content as a string.
Generated using TypeDoc