UNPKG

tiny-electron-essentials

Version:

A lightweight and modular utility library for Electron apps, offering simplified window management, tray support, IPC channels, and custom frameless window styling.

33 lines 858 B
export function defaultLoadingStyleCreator(): { styleContent: string; html: string; }; /** * Creates a transparent, non-interactive window overlay style. * * @returns {{ styleContent: string, html: string }} */ export function transparentOverlayStyle(): { styleContent: string; html: string; }; export function getLoadingHtml({ styleCreator, id, className, }?: GetLoadingHtml): { oStyle: HTMLStyleElement; oDiv: HTMLDivElement; }; /** * Default implementation of styleCreator */ export type DefaultStyleCreator = () => { styleContent: string; html: string; }; /** * Generates loading screen HTML and corresponding styles. */ export type GetLoadingHtml = { id?: string | undefined; className?: string | undefined; styleCreator?: DefaultStyleCreator | undefined; }; //# sourceMappingURL=LoadingHtml.d.mts.map