@microsoft/fast-element > PartialFASTElementDefinition > shadowOptions

PartialFASTElementDefinition.shadowOptions property

Options controlling the creation of the custom element's shadow DOM.

Signature:

readonly shadowOptions?: Partial<ShadowRootOptions> | null;

Remarks

If not provided, defaults to an open shadow root. Provide null to render to the associated template to the light DOM instead.