how to download file? #1149
The docs are pretty messy. All I want to do is generate an xlsx file and then give the user the option to download the new file to their computer.
I am using angular. I already can generate the file. I need help with the downloading part.
XLSX.writeFile(wb, filename, write_opts)attempts to write
filename. In browser-based environments, it will attempt to force a client-side download.
The angular demo has an example of generating a file and triggering a download: https://github.com/SheetJS/js-xlsx/blob/master/demos/angular/SheetJS-angular.js#L18
Is there an example with angular 2+? @SheetJSDev
https://github.com/SheetJS/js-xlsx/tree/master/demos/angular2 includes examples of a plain angular 2+ app as well as ionic and nativescript targets
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?