Interface DataTransferFile

A file associated with a DataTransferItem.

interface DataTransferFile {
    name: string;
    uri?: Uri;
    data(): Thenable<Uint8Array>;
    data(): Thenable<Uint8Array>;
}

Properties

Methods

Properties

name: string

The name of the file.

uri?: Uri

The full file path of the file.

May be undefined on web.

Methods