8 lines
211 B
TypeScript
Raw Permalink Normal View History

2024-10-15 23:05:53 +03:00
export interface UseScrollTriggerOptions {
disableHysteresis?: boolean;
target?: Node | Window;
threshold?: number;
}
export default function useScrollTrigger(options?: UseScrollTriggerOptions): boolean;