Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.5.6/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