ranui
Version:
A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.
6 lines (5 loc) • 375 B
TypeScript
type FullscreenMethodHost = Record<string, (() => Promise<void> | void) | undefined>;
export declare function callFirstFullscreenMethod(host: FullscreenMethodHost, methodNames: string[]): Promise<void>;
export declare function requestElementFullscreen(element: Element): Promise<void>;
export declare function exitDocumentFullscreen(doc: Document): Promise<void>;
export {};