- From: Ryosuke Niwa <notifications@github.com>
- Date: Sat, 13 Oct 2018 12:15:28 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 13 October 2018 19:15:50 UTC
> Nobody knows how to setup a custom element though, in a way that works with definitions already known, loaded on demand, or procedural. I don't understand this. You just need to iterate over child nodes inside the constructor if there are any, schedule a MutationObserver on child node change on `this` and then re-iterate whenever child nodes are inserted or removed. Simple as that. The element needs to remain functional throughout this process after the constructor had finished running. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/551#issuecomment-429567921
Received on Saturday, 13 October 2018 19:15:50 UTC