@gechiui/dom
Version:
DOM utilities module for GeChiUI.
9 lines • 345 B
TypeScript
/**
* Given a DOM node, finds the closest scrollable container node.
*
* @param {Element | null} node Node from which to start.
*
* @return {Element | undefined} Scrollable container node, if found.
*/
export default function getScrollContainer(node: Element | null): Element | undefined;
//# sourceMappingURL=get-scroll-container.d.ts.map