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

@keithamus also worth mentioning that *if* the DOM would expose a *generic* `Element.prototype.whenParsed(callback)` API all our issues could be solved in every possible user-land library or use case.

That method would indeed be:

  * easy to use on any Custom Element constructor
  * not confine the feature to Custom Elements only, as these are already problematic due browsers diversions around the builtin extend topic
  * provide a primitive for every non custom elements based library out there (majority of the current market share)

So, if your idea was a proposal for an API, I'd be plus one on that too!

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

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

Received on Friday, 10 March 2023 13:46:43 UTC