shadowRoot property Null safety
The shadow root of this shadow host.
Other resources
- Shadow DOM 101 from HTML5Rocks.
- Shadow DOM specification from W3C.
Implementation
@SupportedBrowser(SupportedBrowser.CHROME, '25')
ShadowRoot? get shadowRoot =>
JS('ShadowRoot|Null', '#.shadowRoot || #.webkitShadowRoot', this, this);