Animation.Animation

Animation instance.

{
  "id": "Animation",
  "type": "object",
  "experimental": true,
  "properties": [
    {
      "name": "id",
      "type": "string",
      "description": "Animation's id."
    },
    {
      "name": "name",
      "type": "string",
      "description": "Animation's name."
    },
    {
      "name": "pausedState",
      "type": "boolean",
      "experimental": true,
      "description": "Animation's internal paused state."
    },
    {
      "name": "playState",
      "type": "string",
      "description": "Animation's play state."
    },
    {
      "name": "playbackRate",
      "type": "number",
      "description": "Animation's playback rate."
    },
    {
      "name": "startTime",
      "type": "number",
      "description": "Animation's start time."
    },
    {
      "name": "currentTime",
      "type": "number",
      "description": "Animation's current time."
    },
    {
      "name": "source",
      "$ref": "AnimationEffect",
      "description": "Animation's source animation node."
    },
    {
      "name": "type",
      "type": "string",
      "enum": [
        "CSSTransition",
        "CSSAnimation",
        "WebAnimation"
      ],
      "description": "Animation type of Animation."
    },
    {
      "name": "cssId",
      "type": "string",
      "optional": true,
      "description": "A unique ID for Animation representing the sources that triggered this CSS animation/transition."
    }
  ],
  "description": "Animation instance."
}