Raxol.Animation.StateManager (Raxol v0.5.0)
View SourceManages the state for the Raxol Animation Framework.
This module encapsulates the storage and retrieval of animation settings, definitions, and active instances, currently using the process dictionary.
Summary
Functions
Clears all animation state (used primarily for testing or reset).
Retrieves all active animations. Returns a map of {element_id, %{animation_name => instance}}
.
Retrieves an animation definition by name.
Retrieves the animation framework settings.
Initializes the animation state storage.
Stores an active animation instance for a given element.
Stores an animation definition.
Removes a completed or stopped animation instance for a specific element.
Functions
Clears all animation state (used primarily for testing or reset).
Retrieves all active animations. Returns a map of {element_id, %{animation_name => instance}}
.
Retrieves an animation definition by name.
Retrieves the animation framework settings.
Initializes the animation state storage.
Stores an active animation instance for a given element.
Stores an animation definition.
Removes a completed or stopped animation instance for a specific element.