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

Promise or event for render complete? #421

Open
casesolved-co-uk opened this issue Apr 13, 2024 · 1 comment
Open

Promise or event for render complete? #421

casesolved-co-uk opened this issue Apr 13, 2024 · 1 comment

Comments

@casesolved-co-uk
Copy link

Please can someone tell me if the render process is a Promise or if there is an event for its completion?

I need to screenshot an ERPNext dashboard (multiple charts) so need to know when all the charts have completed rendering.

TIA

@uhrjun ?

@casesolved-co-uk
Copy link
Author

casesolved-co-uk commented Apr 13, 2024

It seems an event should be triggered when updateNav is run?

I think adding a Promise would be too difficult because charts are rendered directly from the constructor, so no chance to return something... Unless base chart subclasses promise?

updateNav() {

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

1 participant