Creates a new download
The button label text.
The data to download. Binary formats must be in Base64.
Optional
dataType: stringThe data type of the download. Defaults to "text/plain".
Optional
fileName: stringThe file name of the download as suggested as the default by the browser. Defaults to "download.txt".
A new download component.
Generated using TypeDoc
Download constructor interface