ElectronApp Class

Frontend of an Electron App.

Methods

Name Description
constructor(): ElectronApp    
callDialog<T extends DialogModuleMethod>(methodName: T, ...args: Parameters<>): Promise<PromiseReturnType<>> Static Call an asynchronous method in the Electron.Dialog interface from a previously initialized ElectronFrontend. Deprecated  
shutdown(): Promise<void> Static    
startup(opts?: NativeAppOpts): Promise<void> Static Start the frontend of an Electron application.  

Properties

Name Type Description
dialogIpc Static PickAsyncMethods<Dialog> Proxy object for calling methods of Electron.Dialog  
isValid Accessor StaticReadOnly boolean    

Defined in

Last Updated: 16 April, 2024