GetHtmlOptions Class

https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dictdef-gethtmloptions

public sealed class GetHtmlOptions

Constructors

NameDescription
GetHtmlOptions()

GetHtmlOptions()

DynamicMarkup.cs
public GetHtmlOptions()

No documentation is available.

Properties

NameDescription
SerializableShadowRootsGets a value indicating whether the serializable shadow roots of the descendants are included in the result.
ShadowRootsGets the shadow roots to include in the result, in addition to the serializable ones.

SerializableShadowRoots

DynamicMarkup.cs

Gets a value indicating whether the serializable shadow roots of the descendants are included in the result.

public bool SerializableShadowRoots { get; init; }

ShadowRoots

DynamicMarkup.cs

Gets the shadow roots to include in the result, in addition to the serializable ones.

public IReadOnlyList<ShadowRoot> ShadowRoots { get; init; }