Optional
el: HTMLElementOptional
inputEl: HTMLInputElementOptional
listeners: Partial<Record<DropEventType, ListenerCallback>>Static
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.
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.