Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSKeyframesRule

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).

Hierarchy

Index

Properties

Readonly CHARSET_RULE

CHARSET_RULE: number

CSSRule

CSSRule: { constructor: any; CHARSET_RULE: number; FONT_FACE_RULE: number; IMPORT_RULE: number; KEYFRAMES_RULE: number; KEYFRAME_RULE: number; MEDIA_RULE: number; NAMESPACE_RULE: number; PAGE_RULE: number; STYLE_RULE: number; SUPPORTS_RULE: number; prototype: CSSRule }

Type declaration

  • constructor: function
    • Returns CSSRule

  • Readonly CHARSET_RULE: number
  • Readonly FONT_FACE_RULE: number
  • Readonly IMPORT_RULE: number
  • Readonly KEYFRAMES_RULE: number
  • Readonly KEYFRAME_RULE: number
  • Readonly MEDIA_RULE: number
  • Readonly NAMESPACE_RULE: number
  • Readonly PAGE_RULE: number
  • Readonly STYLE_RULE: number
  • Readonly SUPPORTS_RULE: number
  • prototype: CSSRule

Readonly FONT_FACE_RULE

FONT_FACE_RULE: number

Readonly IMPORT_RULE

IMPORT_RULE: number

Readonly KEYFRAMES_RULE

KEYFRAMES_RULE: number

Readonly KEYFRAME_RULE

KEYFRAME_RULE: number

Readonly MEDIA_RULE

MEDIA_RULE: number

Readonly NAMESPACE_RULE

NAMESPACE_RULE: number

Readonly PAGE_RULE

PAGE_RULE: number

Readonly STYLE_RULE

STYLE_RULE: number

Readonly SUPPORTS_RULE

SUPPORTS_RULE: number

Readonly cssRules

cssRules: CSSRuleList

cssText

cssText: string

name

name: string

Readonly parentRule

parentRule: CSSRule | null

Readonly parentStyleSheet

parentStyleSheet: CSSStyleSheet | null

Readonly type

type: number

Methods

appendRule

  • appendRule(rule: string): void
  • Parameters

    • rule: string

    Returns void

deleteRule

  • deleteRule(select: string): void
  • Parameters

    • select: string

    Returns void

findRule

  • Parameters

    • select: string

    Returns CSSKeyframeRule | null

Generated using TypeDoc