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:

ParameterTypeDescription
eKeyboardEvent | MouseEventMouse or keyboard event.

Returns: void