MCPcopy Create free account
hub / github.com/callstack/agent-device / parseSwipePreset

Function parseSwipePreset

src/core/scroll-gesture.ts:171–173  ·  view source on GitHub ↗
(input: string | undefined)

Source from the content-addressed store, hash-verified

169}
170
171export function parseSwipePreset(input: string | undefined): SwipePreset {
172 return SWIPE_PRESET_ENUM.parse(input);
173}
174
175export function inferGestureReferenceFrame(
176 nodes: Array<Pick<SnapshotNode, 'type' | 'rect'>>,

Callers 2

runSwipePresetFunction · 0.90
handleSwipePresetCommandFunction · 0.90

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…