CreatorAPI
Main API interface.
CreatorAPI interface
Main API interface.
Signature:
interface CreatorAPIRemarks
This is the primary interface for interacting with LottieFiles Creator. Access it via the global creator object.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| The currently active scene | ||
| The API version being used | ||
| ReadonlyArray<Asset> | Array of all scene, image, audio, and uploaded font assets in the project. | |
| Browser storage for persistent data. | ||
() => void | Closes the plugin and stops it from running | ||
(url: string) => void | Opens an external link in the user's default browser | ||
| ReadonlyArray<Scene> | Array of all scenes in the animation | |
| API for accessing the currently selected nodes and keyframes | ||
(scene: Scene) => void | Switches to a different scene | ||
| API for timeline playback control | ||
| API for managing the UI window | ||
| Utility helpers for working with the plugin API. |
Methods
Method | Description |
|---|---|
Creates a new scene. | |
Returns the font catalog available to this project, including Creator's curated preset fonts, Google Fonts, and uploaded font assets. | |
Removes an event listener | |
Registers an event listener for events |