You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to see some form of broadcast, or perhaps callback firing depending on FileSaver.saveAs completion.
i.e.
// with callback support.functionresultFN(e){console.log('File Saved!');returne;}vardata=newBlob([text],{type: 'text/plain;charset=utf-8'});FileSaver.saveAs(data,'text.txt',resultFN);// or on broadcast$rootScope.$on('FileSaverSuccess',function(e,opts){console.log('File Saved!');returne;});// or on promise resolutionvardata=newBlob([text],{type: 'text/plain;charset=utf-8'});FileSaver.saveAs(data,'text.txt').then(function(result){console.log('File Saved!');returnresult;});
The text was updated successfully, but these errors were encountered:
I'd like to see some form of broadcast, or perhaps callback firing depending on
FileSaver.saveAs
completion.i.e.
The text was updated successfully, but these errors were encountered: