Files

object Files(source)

Functions

Link copied to clipboard
fun downloadFile(content: Blob, fileName: String)

Downloads the given content as a file. By default, the file is directly downloaded to the default download directory of the browser. If you want to select the download location via a file selector, then you have to configure that behaviour in your browser settings.