Removed writeend documentation

This commit is contained in:
Eli Grey
2013-01-23 20:56:01 -05:00
parent c290771c45
commit 1b1ad906d5
-9
View File
@@ -50,17 +50,8 @@ Note: The standard HTML5 `canvas.toBlob()` method is not available in all browse
[canvas-toBlob.js][5] is a cross-browser `canvas.toBlob()` implementation that solves
this.
### Doing something after a file is saved
var filesaver = saveAs(blob, "secret stuff that you won't send to a server.truecrypt");
filesaver.onwriteend = function() {
// file saved, do something here
};
### Aborting a save
Note that Internet Explorer cannot abort saves, so
var filesaver = saveAs(blob, "whatever");
cancel_button.addEventListener("click", function() {
if (filesaver.abort) {