I want to try and use file-saver but not sure if or where the file is being saved.
I tried this: Angular 2 download .CSV file click event with authentication but how do we set the location of the file being saved?
I want to try and use file-saver but not sure if or where the file is being saved.
I tried this: Angular 2 download .CSV file click event with authentication but how do we set the location of the file being saved?
Found the problem, very silly mistake. I failed to place data in brackets like this:
let blob = new Blob([data], { type: "text/csv;charset=utf-8" });
After that, it saves the file automatically in downloads folder which is good enough.