UNPKG

radix-vue

Version:

Vue port for Radix UI Primitives.

8 lines (7 loc) 254 B
/** * Determine which of two nodes appears in front of the other — * if `a` is in front, returns 1, otherwise returns -1 * @param {HTMLElement} a * @param {HTMLElement} b */ export declare function compare(a: HTMLElement, b: HTMLElement): number;