Optional
el: HTMLElementOptional
inputEl: HTMLInputElementOptional
listeners: Partial<Record<DropEventType, ListenerCallback>>Private
Optional
_elPrivate
Optional
_inputPrivate
_listenersStatic
USE_Use dataTransfer.items when available instead of dataTransfer.files (when files are dropped)
Set to false to use dataTransfer.files only. This is useful for environments where files cannot be read from FileSystemEntry like in figma plugins/widgets.
Private
_emitOptional
data: { Private
_failPrivate
_loadIterates through a list of FileSystemEntry objects, creates the fileMap tree, and emits the result.
Private
_onPrivate
_onPrivate
_onGenerated using TypeDoc
Fork of: https://github.com/donmccurdy/simple-dropzone updated: Mar 2021 The MIT License (MIT) Copyright (c) 2018 Don McCurdy
Changes: Convert to typescript. webkitRelativePath for file input select. Removed unzip and dependency(done in importer).
Watches an element for file drops, parses to create a filemap hierarchy, and emits the result.