Re: [whatwg/dom] Make it possible to observe connected-ness of a node (#533)

rniwa left a comment (whatwg/dom#533)

> Just to clarify the OP:
> 
> > similar to the way `connectedCallback` and `disconnectedCallback` work for custom elements but unlike those at the end of the microtask
> 
> Is this describing a synchronous API (not an async API like MutationObserver which runs callbacks in a microtask)?

No. The API request here is like other mutation observer callbacks and only happens at the end of a current microtask.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/533#issuecomment-2833694257
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/533/2833694257@github.com>

Received on Sunday, 27 April 2025 23:32:45 UTC