Module AnimatedRe-BsReactNative.Animation
Configured animation as created by calling timing, spring or decay.
type endResult= Js.t({. finished: bool, });If the animation finished running normally, the completion callback will be invoked with
finishedtrue. If the animation is done because stop() was called on it before it could finish (e.g. because it was interrupted by a gesture or another animation), then it will receivefinishedfalse.
type endCallback= endResult => unit;starttakes this callback that will be called when the animation is done. SeeendResultfor arguments.
let stop: t => unit;Stops an animation
let start: t => ?callback:endCallback => unit => unit;Starts an animation
let reset: t => unit;Resets an animation