Use this API to create an animation instance that can be used to define and export animations.Documentation Index
Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| duration | Number | No | Animation duration in ms (default: 400) |
| timeFunction | String | No | Timing function: linear, ease, ease-in, ease-out, ease-in-out |
| delay | Number | No | Animation delay in ms |
| transformOrigin | String | No | Transform origin (default: 50% 50% 0) |
Return Value
Returns an Animation object with chainable methods.Code Example
Related APIs
my.createLottieContext
Create Lottie animation