puppeteer/new-docs/puppeteer.protocol.animation.animation.md
2020-07-13 14:01:35 +01:00

30 lines
1.8 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Animation](./puppeteer.protocol.animation.md) &gt; [Animation](./puppeteer.protocol.animation.animation.md)
## Protocol.Animation.Animation interface
Animation instance.
<b>Signature:</b>
```typescript
export interface Animation
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [cssId](./puppeteer.protocol.animation.animation.cssid.md) | string | A unique ID for <code>Animation</code> representing the sources that triggered this CSS animation/transition. |
| [currentTime](./puppeteer.protocol.animation.animation.currenttime.md) | number | <code>Animation</code>'s current time. |
| [id](./puppeteer.protocol.animation.animation.id.md) | string | <code>Animation</code>'s id. |
| [name](./puppeteer.protocol.animation.animation.name.md) | string | <code>Animation</code>'s name. |
| [pausedState](./puppeteer.protocol.animation.animation.pausedstate.md) | boolean | <code>Animation</code>'s internal paused state. |
| [playbackRate](./puppeteer.protocol.animation.animation.playbackrate.md) | number | <code>Animation</code>'s playback rate. |
| [playState](./puppeteer.protocol.animation.animation.playstate.md) | string | <code>Animation</code>'s play state. |
| [source](./puppeteer.protocol.animation.animation.source.md) | [AnimationEffect](./puppeteer.protocol.animation.animationeffect.md) | <code>Animation</code>'s source animation node. |
| [startTime](./puppeteer.protocol.animation.animation.starttime.md) | number | <code>Animation</code>'s start time. |
| [type](./puppeteer.protocol.animation.animation.type.md) | ('CSSTransition' \| 'CSSAnimation' \| 'WebAnimation') | Animation type of <code>Animation</code>. |