dataUrlToFile
Converts a data URL to a file.
function dataUrlToFile(
url: string,
filename: string,
mimeType: string
): Promise<File>Parameters
| Name | Description |
|---|---|
| The data URL to convert. |
| The name of the file. |
| The MIME type of the file. |
Returns
Promise<File>A promise that resolves to a file.
Prev
createTLUserNext
DefaultBackground