MCPcopy Index your code
hub / github.com/callstack/agent-device / parseScrollDirection

Function parseScrollDirection

src/core/scroll-gesture.ts:211–213  ·  view source on GitHub ↗
(direction: string)

Source from the content-addressed store, hash-verified

209}
210
211export function parseScrollDirection(direction: string): ScrollDirection {
212 return SCROLL_DIRECTION_ENUM.parse(direction);
213}
214
215function scrollDirectionForFingerSwipe(direction: ScrollDirection): ScrollDirection {
216 switch (direction) {

Callers 1

parseScrollTargetFunction · 0.90

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected