Skip to content

DEFAULT_CROSS_FOLLOW

const DEFAULT_CROSS_FOLLOW: 0.18 = 0.18

Defined in: riffle.ts:285

crossFollow’s default: how much a card follows the pointer across the drag axis while dragging, when RiffleOptions.crossFollow is omitted.

import { DEFAULT_CROSS_FOLLOW } from '@rpxl/riffle'
const options = { count: 5, crossFollow: DEFAULT_CROSS_FOLLOW }