Skip to main content
Version: 23.11.1

MediaFeature interface

A media feature to emulate.

Signature

export interface MediaFeature

Properties

Property

Modifiers

Type

Description

Default

name

string

A name of the feature, for example, 'prefers-reduced-motion'.

value

string

A value for the feature, for example, 'reduce'.