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