DEFAULT_THRESHOLD
constDEFAULT_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.
Example
Section titled “Example”import { DEFAULT_THRESHOLD } from '@rpxl/riffle'
const options = { count: 5, threshold: DEFAULT_THRESHOLD }