downloads a file from Blob data
data | object | Blob data for the file to download |
filename | string | name of resulting file |
// var pdf = ..some created pdf data..
var blob = new Blob([pdf.toString()], { type: "application/pdf" });
webix.html.download(blob, "myfile.pdf");
Back to top