Skip to main content

Options for moving a file from a web page to the OS.

Properties (4)

Property Type Default Required Description
data⚓︎ string x

File data in string format.

filename⚓︎ string x x

Name for the file.

icon⚓︎ string x x

Icon that will be shown under the mouse cursor when the user drags the file.

type⚓︎ "file" | "base64" | "base64url" | "utf8" x

Type of the file to be moved.