mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.8 KiB
1.8 KiB
Home > puppeteer > Protocol > Animation > Animation
Protocol.Animation.Animation interface
Animation instance.
Signature:
export interface Animation
Properties
Property | Type | Description |
---|---|---|
cssId | string | A unique ID for Animation representing the sources that triggered this CSS animation/transition. |
currentTime | number | Animation 's current time. |
id | string | Animation 's id. |
name | string | Animation 's name. |
pausedState | boolean | Animation 's internal paused state. |
playbackRate | number | Animation 's playback rate. |
playState | string | Animation 's play state. |
source | AnimationEffect | Animation 's source animation node. |
startTime | number | Animation 's start time. |
type | ('CSSTransition' | 'CSSAnimation' | 'WebAnimation') | Animation type of Animation . |