Skip to content

API Reference / @gtkx/animated / AnimationResult

Interface: AnimationResult<T> ​

The object given to the onRest prop and start promise.

Type Parameters ​

T ​

T extends Readable = any

Properties ​

cancelled? ​

optional cancelled?: boolean

When true, the animation was cancelled before it could finish.


finished? ​

optional finished?: boolean

When true, the animation was neither cancelled nor stopped prematurely.


noop? ​

optional noop?: boolean

When true, no animation ever started.


value ​

value: T extends Readable<U> ? U : never