<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/media-query-list-parser](./media-query-list-parser.md) &gt; [MediaFeatureName](./media-query-list-parser.mediafeaturename.md)

## MediaFeatureName class

**Signature:**

```typescript
export declare class MediaFeatureName 
```

## Constructors

<table><thead><tr><th>

Constructor


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[(constructor)(name, before, after)](./media-query-list-parser.mediafeaturename._constructor_.md)


</td><td>


</td><td>

Constructs a new instance of the `MediaFeatureName` class


</td></tr>
</tbody></table>

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[after](./media-query-list-parser.mediafeaturename.after.md)


</td><td>


</td><td>

Array&lt;CSSToken&gt;


</td><td>


</td></tr>
<tr><td>

[before](./media-query-list-parser.mediafeaturename.before.md)


</td><td>


</td><td>

Array&lt;CSSToken&gt;


</td><td>


</td></tr>
<tr><td>

[name](./media-query-list-parser.mediafeaturename.name.md)


</td><td>


</td><td>

ComponentValue


</td><td>


</td></tr>
<tr><td>

[type](./media-query-list-parser.mediafeaturename.type.md)


</td><td>


</td><td>

[NodeType](./media-query-list-parser.nodetype.md)


</td><td>


</td></tr>
</tbody></table>

## Methods

<table><thead><tr><th>

Method


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[at(index)](./media-query-list-parser.mediafeaturename.at.md)


</td><td>


</td><td>


</td></tr>
<tr><td>

[getName()](./media-query-list-parser.mediafeaturename.getname.md)


</td><td>


</td><td>


</td></tr>
<tr><td>

[getNameToken()](./media-query-list-parser.mediafeaturename.getnametoken.md)


</td><td>


</td><td>


</td></tr>
<tr><td>

[indexOf(item)](./media-query-list-parser.mediafeaturename.indexof.md)


</td><td>


</td><td>


</td></tr>
<tr><td>

[isMediaFeatureName(x)](./media-query-list-parser.mediafeaturename.ismediafeaturename.md)


</td><td>

`static`


</td><td>


</td></tr>
<tr><td>

[tokens()](./media-query-list-parser.mediafeaturename.tokens.md)


</td><td>


</td><td>


</td></tr>
<tr><td>

[toString()](./media-query-list-parser.mediafeaturename.tostring.md)


</td><td>


</td><td>


</td></tr>
</tbody></table>

