---
id: fast-foundation.foundationelementdefinition.shadowoptions
title: FoundationElementDefinition.shadowOptions property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [FoundationElementDefinition](./fast-foundation.foundationelementdefinition.md) &gt; [shadowOptions](./fast-foundation.foundationelementdefinition.shadowoptions.md)

## FoundationElementDefinition.shadowOptions property

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

<b>Signature:</b>

```typescript
readonly shadowOptions?: EagerOrLazyFoundationOption<Partial<ShadowRootInit> | null, this>;
```