Re: [WICG/webcomponents] Options for controlling specifics of "slotchange" events? (#933)

I ran into this exact issue a week or to ago, which required wiring up MutationObservers to the assigned (and flattened!) elements of a slot. 😬 

It's entirely possible there is more than one handler wired up for `slotchange` associated with a particular slot.  It seems a little odd that all such handlers would be subject to being invoked based on how the slot is defined.  An alternative might be to somehow allow such options to be specified as part of the event wire-up.

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

Received on Friday, 25 June 2021 19:28:08 UTC