angularjs-pdf icon indicating copy to clipboard operation
angularjs-pdf copied to clipboard

Blob data instead a pdf file

Open rafakwolf opened this issue 11 years ago • 2 comments

like this:

var file = new Blob([data_from_some_api], { type: "application/pdf" }); var fileUrl = URL.createObjectURL(file);

rafakwolf avatar Mar 25 '15 02:03 rafakwolf

This works.

Grigorius avatar May 05 '15 12:05 Grigorius

I guess this issue is ok now? I'm closing this. Feel free to reopen with a pull request or other suggestions.

sayanee avatar May 26 '15 11:05 sayanee