scroll.d.ts 318 B

123
  1. export declare function lockBodyScrolling(lockingEl: HTMLElement): void;
  2. export declare function unlockBodyScrolling(lockingEl: HTMLElement): void;
  3. export declare function scrollIntoView(element: HTMLElement, container: HTMLElement, direction?: 'horizontal' | 'vertical' | 'both', behavior?: 'smooth' | 'auto'): void;