@renderlesskit/react
Version:
Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit
10 lines (9 loc) • 478 B
TypeScript
export declare const isEndSelection: (element: HTMLElement) => void;
export declare const isStartSelection: (element: HTMLElement) => void;
export declare const isInSelectionRange: (element: HTMLElement) => void;
export declare const repeat: (cb: Function, times: number) => void;
/**
* Enables reading pageX/pageY from fireEvent.mouse*(..., {pageX: ..., pageY: ...}).
*/
export declare function installMouseEvent(): void;
export declare function installPointerEvent(): void;