Type Alias ScrollHook

ScrollHook: (<T>(event: {
    index: Index;
    originalEvent: Event;
    target: T;
    type: "scroll";
}) => void)

A function that can be used as callback on scroll events.