Methods
# inner downloadString(text, fileType, fileName)
Will download a given string as a file
Parameters:
Name | Type | Description |
---|---|---|
text |
string | String that will be the content of the downloaded file |
fileType |
string | String that sets the file type of the downloaded file; Use form text/filetype |
fileName |
string | String that sets the name of the downloaded file; Use the same filetype as given in the fileType parameter e.g. name.filetype |