click

A Function that is fired when the MenuItem receives a click event. It can be called with menuItem.click(event, focusedWindow, focusedWebContents).

  • event KeyboardEvent

  • focusedWindow BrowserWindow

  • focusedWebContents WebContents