UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

4 lines (3 loc) 269 B
export declare const sleep: (ms?: number) => Promise<void>; export declare function mountElement<T extends HTMLElement>(tagName: string, attributes?: Record<string, string>): Promise<T>; export declare function mockRect(element: Element, rect: Partial<DOMRect>): void;