Is there another way to style the host as block without an inline style? Or could there be a mechanism for the host page to control the insertion of this style?
|
const style = document.createElement('style') |
|
style.textContent = `:host {display: block;}` |
|
this.shadowRoot!.append(style, document.createElement('slot')) |
Is there another way to style the host as block without an inline style? Or could there be a mechanism for the host page to control the insertion of this style?
include-fragment-element/src/include-fragment-element.ts
Lines 96 to 98 in 75ac8d9