Skip to main content

Module momentum

Module momentum 

Source
Expand description

Momentum-based animation for drag-and-release interactions

Provides physics-based momentum that continues movement after a drag ends, with configurable friction and optional snapping to boundaries.

Structs§

ContinuousWithMomentum
Continuous momentum with friction-based deceleration
MomentumPosition
Animated position with momentum physics
SnapToPageBoundaries
Snap-to-page momentum behavior

Traits§

MomentumBehavior
Behavior trait for momentum animations