Window control interface exposed to the renderer process. Provides methods to control the application window (minimize, maximize, close).
interface ElectronWindow { /** * Minimizes the application window. * @source */ minimize: () => Promise<void>; /** * Maximizes the application window. * @source */ maximize: () => Promise<void>; /** * Closes the application window. * @source */ close: () => Promise<void>;} Copy
interface ElectronWindow { /** * Minimizes the application window. * @source */ minimize: () => Promise<void>; /** * Maximizes the application window. * @source */ maximize: () => Promise<void>; /** * Closes the application window. * @source */ close: () => Promise<void>;}
Minimizes the application window.
minimize: () => Promise<void>; Copy
minimize: () => Promise<void>;
Maximizes the application window.
maximize: () => Promise<void>; Copy
maximize: () => Promise<void>;
Closes the application window.
close: () => Promise<void>; Copy
close: () => Promise<void>;
Window control interface exposed to the renderer process. Provides methods to control the application window (minimize, maximize, close).
Source