Private
elementThe 'dropzone' element.
FileDrop
Private
fileThe binary file drop callback.
FileDrop
Private
fileThe JSON file drop callback.
FileDrop
Private
fileThe SVG file drop callback.
FileDrop
Private
fileThe text file drop callback.
FileDrop
Private
handlePrivate
handlePrivate
handleInstall 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.
The element you wish to operate as the drop zone (like