mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
8 lines
305 B
TypeScript
8 lines
305 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 scrollParent(element: HTMLElement, firstPossible?: boolean): Document | HTMLElement;
|