click

abstract var click: (menuItem: MenuItem, browserWindow: BrowserWindow?, event: KeyboardEvent) -> Unit?(source)

Will be called with click(menuItem, browserWindow, event) when the menu item is clicked.