FileSaver

Singleton wrapper of FileSaver.js that saves a generated string or blob as a local file with the given name and content type

Live preview

Open in new tab ↗

This component is a wrapper for the FileSaver.js library. With this component you can easily save locally generated files directly in the web browser.

  • singleton

Methods

  • component.save(filename, string/blob, [contentType])

More UI components

Browse all 348