New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replacing SLOT before it is executed in dom? #749
Comments
What does executed mean here? |
CSS rule from within content is applied in page scope. |
I guess you can track when the elements get inserted. At that point they'll likely be rendered at the next animation frame. |
Is there some kind of flag not to render/execute content even if DOM is present? |
|
Anyway, I think it'd be best if you took this to Stack Overflow or an equivalent forum at this point. Hope this helped. |
Say
<show-source>
web component meant to display the HTML as text which located within its body:With async web component loading the UA of course will run css from content making all H3 red. But if the component declaration will be inline and available when UA is rendering
<show-source>
its code would not populate the embedded dom, replacing it with rendered text instead.Q1. What events would permit to cut-off the inner dom before it is executed by UA?
Q2. What events would allow to interrupt the setting of innerHTML or inner dom injection making the substitution possible in run time?
Asking here as the question could become an enhancement request.
The text was updated successfully, but these errors were encountered: