Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting data attribute for the directive and filename #74

Open
mantadt opened this issue Dec 3, 2017 · 0 comments
Open

Setting data attribute for the directive and filename #74

mantadt opened this issue Dec 3, 2017 · 0 comments

Comments

@mantadt
Copy link

mantadt commented Dec 3, 2017

I am new to using angular-pdfjs-viewer. I am unable to figure out how to set the filename for the directive? I am using the approach where I get the PDF data from a REST API and convert it to a Uint8Array. How do I set a custom filename for a save/download operation? Thanks in advance.

@mantadt mantadt changed the title Setting data and fielname Setting data attribute for the directive and filename Dec 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant