Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Image is missing charts. How can I delay the image conversion a bit so that all charts get loaded. #26

Open
chdharm opened this issue May 1, 2020 · 0 comments

Comments

@chdharm
Copy link

chdharm commented May 1, 2020

var urlToImage = require('url-to-image');
urlToImage('http://localhost:3000/', 'localhost.png').then(function() {
console.log("Completed !")
}).catch(function(err) {
console.error(err);
});

Is there a way in this library to delay image conversion after page load.
I am using charts which takes some time to load on page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant