UNPKG

258 BTypeScriptView Raw
1/**
2 * Collects all next sibling elements of an element until a given selector is matched.
3 *
4 * @param node the referene node
5 * @param selector the selector to match
6 */
7export default function nextUntil(node: Element | null, selector: string): Element[];