71c13a20cd0b63346f781e5500e2100300eb04aa41bcf3c1b005f583d341673308aac5ca2f2d523f3eb3b5eb364434457545792ef8a2e01c2f78968d5f0d44 822 B

1234567891011
  1. export declare const isScroll: (el: HTMLElement, isVertical?: boolean) => boolean;
  2. export declare const getScrollContainer: (el: HTMLElement, isVertical?: boolean) => Window | HTMLElement | undefined;
  3. export declare const getScrollBarWidth: (namespace: string) => number;
  4. /**
  5. * Scroll with in the container element, positioning the **selected** element at the top
  6. * of the container
  7. */
  8. export declare function scrollIntoView(container: HTMLElement, selected: HTMLElement): void;
  9. export declare function animateScrollTo(container: HTMLElement | Window, from: number, to: number, duration: number, callback?: unknown): () => void;
  10. export declare const getScrollElement: (target: HTMLElement, container: HTMLElement | Window) => HTMLElement;
  11. export declare const getScrollTop: (container: HTMLElement | Window) => number;