版博士V2.0程序
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.
 
 
 
 

9 lines
506 B

  1. export declare const isScroll: (el: HTMLElement, isVertical?: boolean | undefined) => boolean;
  2. export declare const getScrollContainer: (el: HTMLElement, isVertical?: boolean | undefined) => 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;