offset.d.ts 262 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 /** * Returns the offset of a given element, including top and left positions, width and height. * * @param node the element */ export default function offset(node: HTMLElement): { top: number; left: number; height: number; width: number; };