Skip to content

MenuItem.handleEvent method

MenuItem › handleEvent

Unofficial

Executes the callback of the onClick event (if not disabled).

Signature:

handleEvent(e: KeyboardEvent | MouseEvent): void

Parameters:

Parameter Type Description
e KeyboardEvent | MouseEvent Mouse or keyboard event.

Returns: void