Interface IShadowRoot
- Namespace
- AngleSharp.Dom
- Assembly
- AngleSharp.dll
The ShadowRoot interface represents the shadow root.
[DomName("ShadowRoot")]
public interface IShadowRoot : IDocumentFragment, INode, IEventTarget, IMarkupFormattable, IParentNode, INonElementParentNode
- Inherited Members
- Extension Methods
Properties
ActiveElement
Gets the currently focused element in the shadow tree, if any.
[DomName("activeElement")]
IElement? ActiveElement { get; }
Property Value
Host
Gets the host element, which contains this shadow root.
[DomName("host")]
IElement Host { get; }
Property Value
InnerHtml
Gets the markup of the current shadow root's contents.
[DomName("innerHTML")]
string InnerHtml { get; set; }
Property Value
Mode
Gets the mode of this shadow root.
ShadowRootMode Mode { get; }
Property Value
StyleSheets
Gets the shadow root style sheets.
[DomName("styleSheets")]
IStyleSheetList StyleSheets { get; }