Animation
Documentation for the Animation schema definition in the Polotno Design JSON Schema.
Animation
Type Information
Base Type: object
Properties
Property | Type | Description |
---|---|---|
data | unknown | Animation-specific data. |
delay | number | Delay before animation starts in milliseconds. |
duration | number | Animation duration in milliseconds. |
enabled | boolean | Whether the animation is enabled. |
name | string | Animation name identifier. |
type | "enter" | "exit" | "loop" | Type of animation: enter, exit, or loop. |
JSON Schema
{
"additionalProperties": false,
"properties": {
"data": {
"description": "Animation-specific data."
},
"delay": {
"description": "Delay before animation starts in milliseconds.",
"type": "number"
},
"duration": {
"description": "Animation duration in milliseconds.",
"type": "number"
},
"enabled": {
"description": "Whether the animation is enabled.",
"type": "boolean"
},
"name": {
"description": "Animation name identifier.",
"type": "string"
},
"type": {
"description": "Type of animation: enter, exit, or loop.",
"enum": [
"enter",
"exit",
"loop"
],
"type": "string"
}
},
"required": [
"delay",
"duration",
"enabled",
"type",
"name",
"data"
],
"type": "object"
}
Related Definitions
No related definitions found.