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

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

## MatchMediaBehavior.(constructor)

Constructs a new instance of the `MatchMediaBehavior` class

<b>Signature:</b>

```typescript
constructor(query: MediaQueryList);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  query | MediaQueryList | The media query to operate from. |
