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

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

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

An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).

Properties

readonly
cssRules: CSSRuleList
name: string

Methods

appendRule(rule: string): void
deleteRule(select: string): void
findRule(select: string): CSSKeyframeRule | null