Skip to content

DEFAULT_THRESHOLD

const DEFAULT_THRESHOLD: 0.25 = 0.25

Defined in: riffle.ts:258

threshold’s default: the fraction of one step a drag must cover, on distance alone, to commit to the next or previous card, when RiffleOptions.threshold is omitted.

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