Skip to content

ElectronBrowserWindow.on('app-command') method

ElectronBrowserWindow › on(‘app-command’)

Unofficial

Signature:

on(event: "app-command", listener: (event: ElectronEvent, command: string) => void): this

Parameters:

ParameterTypeDescription
event"app-command"
listener(event: ElectronEvent, command: string) => void

Returns: this