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

Question : is there a way to add loading animation during PDF get generated? #471

Open
lenamtl opened this issue May 2, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@lenamtl
Copy link

commented May 2, 2019

Hi,

Is there a way to add loading animation during PDF get generated?

@LittleBigFox

This comment has been minimized.

Copy link
Contributor

commented May 2, 2019

Hi!
You have to use javascript for this kind of animation...

Regards,
LBF

@lenamtl

This comment has been minimized.

Copy link
Author

commented May 2, 2019

Ok could you point me the trigger that indicate that the PDF is completely generated?

@LittleBigFox

This comment has been minimized.

Copy link
Contributor

commented May 3, 2019

Personnaly, i put an event after the pdf object creation, after the writeHtml function, and after the output function.

You can use this kind of code for catch these events:
https://stackoverflow.com/questions/7740646/jquery-read-ajax-stream-incrementally

Regards,
LBF

@lenamtl

This comment has been minimized.

Copy link
Author

commented May 3, 2019

Thanks I will check that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.