You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
508 B
10 lines
508 B
interface Options {
|
|
readonly isEnabled: boolean;
|
|
readonly onBottomArrive?: (event: WheelEvent | TouchEvent) => void;
|
|
readonly onBottomLeave?: (event: WheelEvent | TouchEvent) => void;
|
|
readonly onTopArrive?: (event: WheelEvent | TouchEvent) => void;
|
|
readonly onTopLeave?: (event: WheelEvent | TouchEvent) => void;
|
|
}
|
|
export default function useScrollCapture({ isEnabled, onBottomArrive, onBottomLeave, onTopArrive, onTopLeave, }: Options): (element: HTMLElement | null) => void;
|
|
export {};
|