Represents options for saving files.
Example
const fileOptions = {
name: "image.png",
width: 800,
height: 600
};
Members
string
# name Optional
The name of the file to be saved.
If not provided, it will be derived from the blob
parameter. For
blobs
(e.g. those retrieved from an File
<input type='file'>
) this is the name of the file,
for
objects it is Blob
blob
.
Example
"report.pdf"