interface LazyScrollViewProps {
    debug?: boolean;
    offset?: number;
    onScroll?: (event: AnimatedSyntheticEvent) => void;
    ref?: MutableRefObject<LazyScrollViewMethods>;
}

Properties

debug?: boolean

When true, console.logs scrollview measurements. Even if true, will not call console.log in production.

offset?: number

How far above or below the bottom of the ScrollView the threshold trigger is. Negative is above, postive it below. Accepts ScrollView props.

0 (bottom of ScrollView)
onScroll?: (event: AnimatedSyntheticEvent) => void

Scroll handler for the LazyScrollView.

ref?: MutableRefObject<LazyScrollViewMethods>

Ref to the LazyScrollView. Exposes scrollTo, scrollToStart, and scrollToEnd methods.