Skip to main content

Type Alias: SpringTransition

SpringTransition = object

Defined in: animation/types.ts:71

Transition configuration for spring (physics-based) animations.

Spring animations simulate a mass attached to a spring, providing natural-feeling motion. The animation settles when the spring reaches equilibrium.

See

Adw.SpringAnimation

Properties

clamp?

optional clamp: boolean

Defined in: animation/types.ts:81

Whether to clamp the animation value to prevent overshooting


damping?

optional damping: number

Defined in: animation/types.ts:73

Damping ratio controlling oscillation decay (default: 1, critically damped)


delay?

optional delay: number

Defined in: animation/types.ts:83

Delay before starting the animation in milliseconds


initialVelocity?

optional initialVelocity: number

Defined in: animation/types.ts:79

Initial velocity to apply at animation start


mass?

optional mass: number

Defined in: animation/types.ts:77

Virtual mass in kg affecting momentum (default: 1)


stiffness?

optional stiffness: number

Defined in: animation/types.ts:75

Spring stiffness in N/m affecting animation speed (default: 100)