I am trying to use saveAs
interface as explained here
For the moment, I only worry about Google Chrome, and I uses latest Canary (Version 27.0.1429.0 canary)
Qn1: the article says.
The W3C File API includes a FileSaver interface, which makes saving generated data as easy as saveAs(data, filename), though unfortunately it will eventually be removed from the spec.
Why it would be removed?
Qn2: Below code.
if (window.saveAs) {
window.saveAs(blob, name);
}else{
console.log("saveAs not supported")
}
prints
saveAs not supported
So chrome doesn't support saveAs. That is not the impression I have reading many article online.
saveAs()
function, just create a small fiddle for it jsfiddle.net/shivasaxena/qnYk4/3 – Proud