We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0455b11 commit 23de796Copy full SHA for 23de796
html/DownloadFile.js
@@ -0,0 +1,6 @@
1
+function download(fileUrl, fileName) {
2
+ var a = document.createElement("a");
3
+ a.href = fileUrl;
4
+ a.setAttribute("download", fileName);
5
+ a.click();
6
+ }
0 commit comments