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

onRendered event needed #700

Closed
varya opened this issue Jul 10, 2015 · 0 comments
Closed

onRendered event needed #700

varya opened this issue Jul 10, 2015 · 0 comments

Comments

@varya
Copy link
Contributor

varya commented Jul 10, 2015

In my StyleGuide I'm linking a JavaScript file (bundled for all the components, the same which is used for a product website). JavaScript is written so that the components are to be initialised after domReady event. However, in the StyleGuide case it's too early. StyleGuide renders the components dynamically, so when domReady happens, the pages don't contain the components yet.
The solution to my problem is to initialise the components after they are rendered. I would need an event to know that this happened. Could StyleGuide provide such an event?

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