Skip to content

API Reference / @gtkx/animated / AnimationResult

Interface: AnimationResult<T> ​

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:238

The object given to the onRest prop and start promise.

Type Parameters ​

T ​

T extends Readable = any

Properties ​

cancelled? ​

optional cancelled?: boolean

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:245

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


finished? ​

optional finished?: boolean

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:243

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


noop? ​

optional noop?: boolean

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:241

When true, no animation ever started.


value ​

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

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:239