🎤Event Handling

To which other events can you listen?

Event Handlers

List of supported events can be found here. Some of the commonly used ones are listed below:

Clipboard Events

Event names:

onCopy onCut onPaste

Properties:

DOMDataTransfer clipboardData

Composition Events

Event names:

onCompositionEnd onCompositionStart onCompositionUpdate

Properties:

string data

Keyboard Events

Event names:

onKeyDown onKeyPress onKeyUp

Properties:

Focus Events

Event names:

These focus events work on all elements in the React DOM, not just form elements.

Properties:

Form Events

Event names:

For more information about the onChange event, see Forms.

Mouse Events

Event names:

The onMouseEnter and onMouseLeave events propagate from the element being left to the one being entered instead of ordinary bubbling and do not have a capture phase.

Properties:

Selection Events

Event names:

Touch Events

Event names:

Properties:

UI Events

Event names:

Properties:

Wheel Events

Event names:

Properties:

Media Events

Event names:

Image Events

Event names:

Animation Events

Event names:

Properties:

Transition Events

Event names:

Properties:

Other Events

Event names:

Last updated

Was this helpful?