UNPKG

@gechiui/dom

Version:
9 lines 345 B
/** * 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