puppeteer/docs/api/puppeteer.mediafeature.md
2024-05-29 09:14:12 +00:00

651 B

sidebar_label
MediaFeature

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'.