You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am making a feed widget that a client can embed on external websites. I am loading sanitized CSS from an API after initialisation and need to be able to inject the CSS into the shadow root but when i try this.$el.shadowRoot.appendChild i get errors.
How can I inject styles after initialisation? Any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
I'll be back from holiday in 15days, but in generally injecting the css into the shadow DOM can be done via the cssFrameworkStyles.
The only limitation is with the css vars, that need to be attached to the host and not to the root, and I will try to push this feature to the next version
I am making a feed widget that a client can embed on external websites. I am loading sanitized CSS from an API after initialisation and need to be able to inject the CSS into the shadow root but when i try this.$el.shadowRoot.appendChild i get errors.
How can I inject styles after initialisation? Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: