UNPKG

@el3um4s/ipc-for-electron-window-controls

Version:

Allow the renderer to close, minimize and maximize the window (for desktop Electron)

16 lines (15 loc) 340 B
declare const renderer: { minimize: (options?: { apiKey?: string; }) => void; maximize: (options?: { apiKey?: string; }) => void; close: (options?: { apiKey?: string; }) => void; unmaximize: (options?: { apiKey?: string; }) => void; }; export default renderer;