DataTransferFile
interfaceA file associated with a DataTransferItem. Instances of this type can only be created by the editor and not by extensions.
Import
import { DataTransferFile } from '@modular/sdk';Members3
- name
stringThe name of the file.
- urioptional
UriThe full file path of the file. May be `undefined` on web.
- data()
() => Thenable<Uint8Array>The full file contents of the file.