Files
verify/frontend/node_modules/dom-helpers/cjs/offset.d.ts
Mohamed Mathar Irfan ed6610d5d8 Initial project upload
2026-07-28 17:57:02 +05:30

12 lines
262 B
TypeScript

/**
* 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;
};