ElectronBrowserWindow.on('app-command') method
ElectronBrowserWindow › on(‘app-command’)
Unofficial
Signature:
on($event: "app-command", listener: ($event: ElectronEvent, command: string) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | "app-command" | |
| listener | ($event: ElectronEvent, command: string) => void |
Returns: this