Closed clintcfavor closed 4 years ago
https://github.com/wnabil/ngx-export-as#get-started
function export() {
// download the file using old school javascript method
this.exportAsService.save(this.exportAsConfig, 'My File Name').subscribe(() => {
// save started
});
// get the data as base64 or json object for json type - this will be helpful in ionic or SSR
this.exportAsService.get(this.config).subscribe(content => {
console.log(content);
});
}
Hi again, is there a way that we can run specific function after pdf is exported?