CreatorAPI
Main Creator API interface.
CreatorAPI interface
Main Creator API interface.
Signature:
interface CreatorAPIRemarks
This is the primary interface for interacting with LottieFiles Creator from a plugin. 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 and image assets in the project | |
| Browser storage for plugin 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 plugin UI | ||
| Utility helpers for working with nodes |
Methods
Method | Description |
|---|---|
Creates a new scene. | |
Returns all fonts available for use in text layers. | |
Removes an event listener | |
Registers an event listener for plugin events |