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

Async flag does not work #1769

Closed
alimovz opened this issue Mar 8, 2019 · 1 comment
Closed

Async flag does not work #1769

alimovz opened this issue Mar 8, 2019 · 1 comment

Comments

@alimovz
Copy link

alimovz commented Mar 8, 2019

html2canvas(document.body, {async: false, logging: true}).then(function(canvas){...

The async flag, whether set to true or false, does not seem to change the behavior. Any way to actually make it run in synchronous mode?

@niklasvh
Copy link
Owner

niklasvh commented Apr 8, 2019

Fixed the documentation regarding the async option, which doesn't exist anymore. Due to the async nature of what html2canvas, it is not feasible to do it async.

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