ElectronApp.on('ready') method
ElectronApp › on(‘ready’)
Unofficial
Registers a listener for theready event.Emitted once, when Electron has finished initializing.
Signature:
on($event: "ready", listener: ($event: ElectronEvent, launchInfo: ElectronNotificationResponse | Record<string, unknown>) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | "ready" | |
| listener | ($event: ElectronEvent, launchInfo: ElectronNotificationResponse | Record<string, unknown>) => void | The event handler. |
Returns: this — This ElectronApp instance.