onReady

abstract fun onReady(handle: AnimationHandle): CleanupFunc?

Called when the animation is set up and ready to begin. Call handle.start to begin frame callbacks. Return a CleanupFunc to clean up resources when the animation is cancelled or the component unmounts, or null if not needed.