gpu-curtains
    Preparing search index...

    Interface ScrollManagerParams

    Parameters used to create a ScrollManager

    interface ScrollManagerParams {
        scroll?: DOMPosition;
        delta?: DOMPosition;
        shouldWatch?: boolean;
        onScroll?: (delta?: DOMPosition) => void;
    }
    Index

    Properties

    scroll?: DOMPosition

    Current scroll position

    delta?: DOMPosition

    Last scroll deltas

    shouldWatch?: boolean

    Whether the ScrollManager should listen to the window scroll event or not

    onScroll?: (delta?: DOMPosition) => void

    Callback to execute each time the scroll values change