action

abstract var action: (id: String) -> Unit?(source)

Specify a handler to be called when this menu item is activated.