---
id: fast-foundation.elementdefinitioncontext.shadowrootmode
title: ElementDefinitionContext.shadowRootMode property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ElementDefinitionContext](./fast-foundation.elementdefinitioncontext.md) &gt; [shadowRootMode](./fast-foundation.elementdefinitioncontext.shadowrootmode.md)

## ElementDefinitionContext.shadowRootMode property

The shadow root mode specified by the design system's configuration.

<b>Signature:</b>

```typescript
readonly shadowRootMode: ShadowRootMode | undefined;
```