You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 whendomReady
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?
The text was updated successfully, but these errors were encountered: