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

TKO and multiple "after render" #125

Open
ghost opened this issue Dec 25, 2020 · 0 comments
Open

TKO and multiple "after render" #125

ghost opened this issue Dec 25, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 25, 2020

Let's assume I have N different components which are parts of some general component C.
Component C initially is hidden (let it be "if" binding but no matter), when it is loaded it starts loading of other components.
During loading each child component fetches some data from server, displays it in forms / foreach loops etc.
After data is filled a component is displayed (for example fade using CSS animation, opacity whatever).
I want to continue some UI updates only when all children are absolutely ready (including DOM).
How to handle the moment, when all N components fetched their data, filled it, and most important rendered (animation completed), when I set true for observable value of if binding of C component.

In other words any chance to get something like this: await(how?) commonVisibleObervable(true);

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

0 participants