- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
13 lines
566 B
TypeScript
13 lines
566 B
TypeScript
import { FileWithPath } from './file';
|
|
/**
|
|
* Convert a DragEvent's DataTrasfer object to a list of File objects
|
|
* NOTE: If some of the items are folders,
|
|
* everything will be flattened and placed in the same list but the paths will be kept as a {path} property.
|
|
*
|
|
* EXPERIMENTAL: A list of https://developer.mozilla.org/en-US/docs/Web/API/FileSystemHandle objects can also be passed as an arg
|
|
* and a list of File objects will be returned.
|
|
*
|
|
* @param evt
|
|
*/
|
|
export declare function fromEvent(evt: Event | any): Promise<(FileWithPath | DataTransferItem)[]>;
|