Gazebo_simulation-Frontend/node_modules/dom-helpers/esm/scrollParent.d.ts
2020-12-21 10:29:31 -05:00

8 lines
306 B
TypeScript

/**
* 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 scrollPrarent(element: HTMLElement, firstPossible?: boolean): Document | HTMLElement;