Skip to main content
Module

x/evt/lib/types/index.ts>dom.CSSMediaRule

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.CSSMediaRule
implements CSSConditionRule
import { type dom } from "https://deno.land/x/evt@v2.4.3/lib/types/index.ts";
const { CSSMediaRule } = dom;

A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE).

Properties

readonly
media: MediaList