Raxol.Animation.AnimationProcessor (Raxol v2.0.1)

View Source

Handles the processing of active animations and their application to state.

This module is responsible for:

  • Processing active animations and calculating their current values
  • Applying animation values to the application state
  • Handling animation completion
  • Managing animation progress and timing

Summary

Functions

Update animations and apply their current values to the state.

Functions

apply_animations_to_state(state, user_preferences_pid \\ nil)

Update animations and apply their current values to the state.

Parameters

  • state - Current application state
  • user_preferences_pid - (Optional) The UserPreferences process pid or name for accessibility announcements

Returns

Updated state with animation values applied.