offset.d.ts 118 B

1234
  1. export declare function getOffset(element: HTMLElement, parent: HTMLElement): {
  2. top: number;
  3. left: number;
  4. };