DataTransferFile

A file associated with a {@linkcode DataTransferItem}.

Instances of this type can only be created by the editor and not by extensions.

Online Documentation

Properties

Link copied to clipboard
abstract val name: String

The name of the file.

Link copied to clipboard
abstract val uri: Uri?

The full file path of the file.

Functions

Link copied to clipboard
abstract fun data(): PromiseLike<Uint8Array<*>>

The full file contents of the file.