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

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

## FASTElementDefinition.shadowOptions property

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

<b>Signature:</b>

```typescript
readonly shadowOptions?: ShadowRootInit;
```