The named parameters.
Optionalaccept?: stringA comma separated list of either file extensions or mime types representing files
The type of data being saved to disk.
The data read from the particular file or null if an error occurred or no file was selected. A rejected promise represents a module API violation.
Brings up a file chooser to select a file to read its data for later use.