Optional__mutableOptionalaxisOptionalbounceDuration of the bounce-back timeline when movement exceeds bounds and inertia does not run.
OptionalboundsMovement limits per axis. Unset axis is unbounded.
OptionalcanDetermines whether the swipe is allowed to bounce back.
OptionaldirectionMinimum swipe distance (px) for directional callbacks.
OptionaledgeEdge swipe threshold (px) from the left/right edge.
OptionalenabledEnables or disables swipe events.
OptionalgrabShows "grab" and "grabbing" cursors during interaction.
OptionalinertiaEnables release inertia (RAF-based decay).
OptionalinertiaEasing factor for pulling inertia back inside bounds (per frame, FPS-independent).
OptionalinertiaInertia velocity decay per frame (higher = stops sooner).
OptionalinertiaInertia distance modifier. Called when inertia distance is predicted but not yet started.
OptionalinertiaOptionalinertiaOptionalinertiaOptionalinertiaMultiplier applied to release velocity.
OptionalinertiaMinimum release speed to start inertia (px/s for x/y, deg/s for angle).
OptionalmaxMax release velocity per axis (coord/ms for x/y, deg/ms for angle).
Falsy axis value disables inertia on that axis.
OptionalminMinimum duration (ms) to trigger swipe move.
OptionaloverflowRubber-band distance past bounds (px for x/y, degrees for angle).
OptionalpreventPrevents edge swiping (iOS swipe-back gesture).
OptionalpreventPrevents touchmove event.
OptionalratioSwipe movement scale.
OptionalrecalculateEnable bounds recalculation when inertia is active
OptionalrelativeCalculates coordinates relative to the container.
OptionalrequireRequires Ctrl key for swipe (mouse only).
OptionalsnapSnap targets per axis in movement space.
OptionalsnapMax distance to a snap target (same units as the axis). Falsy = no radius limit.
OptionalthresholdMinimum swipe distance (px) to trigger swipe start.
OptionalvelocityOptionalwillReturns true to abort before the swipe starts (after threshold / axis checks).
Primary swiping axis.