Pointer Events

A single set of events, such as pointerdown and pointermove, that covers mouse, pen and touch input with one code path.

In more detail

Each event says which device produced it in pointerType and adds details like pressure, tilt and contact size. Writing to Pointer Events instead of separate mouse and touch events removes duplicate handlers.

Related terms

Taught in

References