---
id: fast-foundation.matchmediastylesheetbehavior._constructor_
title: MatchMediaStyleSheetBehavior.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [MatchMediaStyleSheetBehavior](./fast-foundation.matchmediastylesheetbehavior.md) &gt; [(constructor)](./fast-foundation.matchmediastylesheetbehavior._constructor_.md)

## MatchMediaStyleSheetBehavior.(constructor)

Constructs a [MatchMediaStyleSheetBehavior](./fast-foundation.matchmediastylesheetbehavior.md) instance.

<b>Signature:</b>

```typescript
constructor(query: MediaQueryList, styles: ElementStyles);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  query | MediaQueryList | The media query to operate from. |
|  styles | [ElementStyles](./fast-element.elementstyles.md) | The styles to coordinate with the query. |
