An event of the MenuComponent.
The item index of the event.
The item data of the event.
The MenuComponent that triggered the event.
true if the event was prevented
by any of its subscribers.
true if the default action was prevented.
Prevents the default action for a specified event.
In this way, the source component suppresses
the built-in behavior that follows the event.