Files
Checkmate/node_modules/dom-helpers/cjs/scrollParent.d.ts
T

7 lines
305 B
TypeScript
Raw Normal View History

2024-05-05 11:21:00 +03:30
/**
* Find the first scrollable parent of an element.
*
* @param element Starting element
* @param firstPossible Stop at the first scrollable parent, even if it's not currently scrollable
*/
export default function scrollParent(element: HTMLElement, firstPossible?: boolean): Document | HTMLElement;