@aninest/extensions / Snap / ShouldSnap
ShouldSnap()<Animating, Point>
ts
type ShouldSnap<Animating, Point>: (point, currentState) => boolean;
Type Parameters
• Animating extends RecursiveAnimatable
<unknown
>
• Point extends PartialRecursiveAnimatable
<Animating
>
Parameters
• point: Point
• currentState: Animating
Returns
boolean