bits-ui
Version:
The headless components for Svelte.
4 lines (3 loc) • 318 B
TypeScript
export declare function findNextSibling(el: Element, selector: string): Element | undefined;
export declare function findPreviousSibling(el: Element, selector: string): Element | undefined;
export declare function findFirstStartMarkerWithImmediateSiblingAsEnd(el: Element, type: "item" | "group"): HTMLElement | null;