Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.CSS.MediaQuery

Headless Chrome Deno API
Latest
interface Protocol.CSS.MediaQuery
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { MediaQuery } = Protocol.CSS;

Media query descriptor.

Properties

expressions: MediaQueryExpression[]

Array of media query expressions.

active: boolean

Whether the media query condition is satisfied.