- From: br3nt <notifications@github.com>
- Date: Mon, 21 Oct 2024 14:27:49 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 October 2024 21:27:53 UTC
Thanks @justinfagnani for taking an interest. In this case, I want to stick with mixing JS and HTML. The problem I foresee isn't the template parsing, as I have that worked out. I will encounter the specific problem mentioned by @WebReflection regarding the inability to assign to `this.innerHtml` before the parser closes the custom HTML tag. So I'm a plus one for: > This is the reason we've been asking a lot a way to have the possibility to operate on Custom Elements once their end tag is either reached or implicitly enforced by the parser Having a callback and hopefully a flag to validate I can assign to `this.innerHtml` would be ideal and would also solve my original problem described in the description. I'm concerned the `<script defer` or `setTimeout()` solutions/hacks mentioned by @Danny-Engelman introduce a greater degree of uncertainty and unpredictability for the timing of script execution. @justinfagnani, I'd like to reach out, because looking briefly at your library, I think we will encounter many of the same problems you may have already tackled. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1081#issuecomment-2427754193 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1081/2427754193@github.com>
Received on Monday, 21 October 2024 21:27:53 UTC