Open bennypowers opened 2 weeks ago
Say a user forgot to load rh-table-lightdom.css in the document
rh-table-lightdom.css
<rh-table>
/** pseudocode */ async connectedCallback() { super.connectedCallback(); const root = this.getRootNode(); if (!root.getComputedStyle().getPropertyName(this._lightdomcssBrandName)) { root.adoptedStyleSheets = [...root.adoptedStyleSheets, await import('./rh-table-lightdom.css')] } }
No response
probably best handled with a controller
Description
Say a user forgot to load
rh-table-lightdom.css
in the document<rh-table>
in another shadow root, but didn't load the lightdom styles in that shadow root.Suggested solution
Screenshots
No response
Example API
No response
Additional context
No response