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

[@microsoft/fast-element](./fast-element.md) &gt; [PartialFASTElementDefinition](./fast-element.partialfastelementdefinition.md) &gt; [shadowOptions](./fast-element.partialfastelementdefinition.shadowoptions.md)

## PartialFASTElementDefinition.shadowOptions property

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

<b>Signature:</b>

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