- From: Kokujou <notifications@github.com>
- Date: Mon, 09 Aug 2021 05:17:42 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 August 2021 12:17:54 UTC
hello, first: i was pointed here by this bug, i created: https://bugzilla.mozilla.org/show_bug.cgi?id=1724680 the problem is the following: i have a webcomponent which uses slots. And i want to detect when there is a change in those slots, especially in attributes and the inner text of the elelment. i want to catch this change and refresh my web-component but currently the slotChange event is only triggered when the slot attribute is changed, which is very limited. there is a workaround being the use of the MutationObserver assigned to the webComponent root (not shadow root!). -- 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/937
Received on Monday, 9 August 2021 12:17:54 UTC