Lazy
An AnimationTrigger that defers animation start until start is called explicitly.
Useful for items in a scrollable collection where animations should only play once the item becomes visible on screen. Prefer useLazyAnimationTrigger to create a stable instance across renders.
start latches. Each retarget hands onReady a new AnimationHandle — the handle is a one-shot command, so all durable state lives here on the trigger — and once started, this trigger starts each new handle on arrival. Without that latch a group whose children settle at different times would tear: a retarget re-gates only the settled children, while the siblings already receiving frames keep animating toward the new target.
Functions
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.