UNPKG

@zag-js/splitter

Version:

Core logic for the splitter widget implemented as a state machine

10 lines (8 loc) 287 B
/** * Determine which of two nodes appears in front of the other — * if `a` is in front, returns 1, otherwise returns -1 * @param a First element * @param b Second element */ declare function compareStackingOrder(a: Element, b: Element): number; export { compareStackingOrder };