Skip to content

ElectronDock.getMenu method

ElectronDock › getMenu

Unofficial

Returns the application's dock menu. macOS only.

Signature:

getMenu(): ElectronMenu | null

Returns: ElectronMenu | nullThe dock menu, or null if none has been set.