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

Callback for loading progress? #88

Open
rberger opened this issue Jul 2, 2024 · 1 comment
Open

Callback for loading progress? #88

rberger opened this issue Jul 2, 2024 · 1 comment

Comments

@rberger
Copy link

rberger commented Jul 2, 2024

Is there a way to pass in a callback for loading progress? I see that the underlying pdf.js has a mechanism for this but don't see a way to utilize it in svelte-pdf.

I have some very large PDFs to view and the component just sits there with no indication that the load is in progress.

I believe it just needs to be passed in to the onProgress to the loadingTask object ether during its creation or after loadingTask is created.

My svelte/javascript fu is not up to figuring out how to build and test svelte-pdf locally so I was not able to test and create a PR.

@thangnd-uit07
Copy link

I also need that feature. And wait for new updates...

aryan-debug added a commit to aryan-debug/svelte-pdf that referenced this issue Jan 3, 2025
vinodnimbalkar added a commit that referenced this issue Jan 5, 2025
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

2 participants