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.

7 lines
372 B

1 month ago
  1. export declare const isInContainer: (el?: Element, container?: Element | Window) => boolean;
  2. export declare const getOffsetTop: (el: HTMLElement) => number;
  3. export declare const getOffsetTopDistance: (el: HTMLElement, containerEl: HTMLElement) => number;
  4. export declare const getClientXY: (event: MouseEvent | TouchEvent) => {
  5. clientX: number;
  6. clientY: number;
  7. };