8.7 released—WinterCG Compliance Part 1
Learn more
CssAnimationParser

Summary

Constructors

constructor

new CssAnimationParser(): CssAnimationParser

Methods

keyframeAnimationsFromCSSDeclarations

Static
keyframeAnimationsFromCSSDeclarations(declarations: KeyframeDeclaration[]): KeyframeAnimationInfo[]
Parameter Default Description
declarations

keyframesArrayFromCSS

Static
keyframesArrayFromCSS(keyframes: UnparsedKeyframe[]): KeyframeInfo[]
Parameter Default Description
keyframes
UnparsedKeyframe[]

Returns KeyframeInfo[]