-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Issue with loading a new file in the existing pdfvuer #28
Comments
Just got a clue from another similar issue. Whether we can achieve this here??? |
Working on #18. Once that is done, Changing the 'src' prop should do it. |
Sorry to bug you, can I know when it will be completed??? |
Probably by this weekend. |
Can you please let me know once this issue is fixed |
Fixed the issue by assigning a dynamic key in pdf src. This solves the old pdf reloading again HTML Code
Vue Code
|
Using the What worked for me was to reset the respective data at each load. This instantly clears up the canvas and loads up the new pdf file without having pages from the previous pdf.
You can call this method when changing up the pdf. You would most probably want to call this with the |
I have used pdfvuer component in an application. I am loading the local pdf into the pdfvuer and it works fine for the first time. When i try to load another file in the existing component. The previous file page is retained it is not getting cleared from the view. Can you please let me know how can i erase the previous data and load new pdf file into the view.
The text was updated successfully, but these errors were encountered: