Re: [WICG/webcomponents] Need a callback for when children changed or parser finished parsing children (#809)

@mfreed7 so the only correct solution is for the child nodes to report that they have connected to the parent element?

Possible solutions including:

-  a Promise object set by the parent and resolve by one or more childs,
-  Custom Events fired by childs and caught by the parent,
-  a MutationObserver object set to observe changes in the parent's child list...

Source from [a 2016 StackOverflow](https://stackoverflow.com/a/36190505/2446144) that seems to be more relevant than anything else mentioned in this thread and thus perhaps the most correct approach.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/809#issuecomment-1457029849
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/809/1457029849@github.com>

Received on Monday, 6 March 2023 21:30:14 UTC