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

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

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

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