[Vuejs]-Get status of nested children in Vue components

0👍

While I did not solve my question in a way that I was originally thinking, I did create a solution.

I rewrote the function so the id of the level 1 parent is always available in it’s (nested) children. When a child updates, it emits an event while mentioning that id. On the main element, a Vue method then starts at that id and works its way down all its children to determine the status. When anything changes, I just emit that change again.

👤Duncan

Leave a comment