0 = left mouse button, 1 = middle, 2 = right
0 = left mouse button, 1 = middle, 2 = right
Specifies some detail information about the Event, depending on the type of event.
Specifies some detail information about the Event, depending on the type of event. The un-initialized value of this attribute must be 0.
React 16.5
React 16.5
If you want to access the event properties in an asynchronous way, call this on the event, which will remove the synthetic event from the pool and allow references to the event to be retained by user code.
If you want to access the event properties in an asynchronous way, call this on the event, which will remove the synthetic event from the pool and allow references to the event to be retained by user code.
Stops the default action of an element from happening.
Stops the default action of an element from happening. For example: Prevent a submit button from submitting a form Prevent a link from following the URL
Stops the bubbling of an event to parent elements, preventing any parent event handlers from being executed.
Stops the bubbling of an event to parent elements, preventing any parent event handlers from being executed.
The normalized tangential pressure (also known as barrel pressure), typically set by an additional control (e.g.
The normalized tangential pressure (also known as barrel pressure), typically set by an additional control (e.g. a finger wheel on an airbrush stylus), of the pointer input in the range of [-1,1], where 0 is the neutral position of the control. Note that some hardware may only support positive values in the range of [0,1]. For hardware that does not support tangential pressure, the value MUST be 0.
React 16.5
The clockwise rotation (in degrees, in the range of [0,359]) of a transducer (e.g.
The clockwise rotation (in degrees, in the range of [0,359]) of a transducer (e.g. pen stylus) around its own major axis. For devices that do not report twist, the value MUST be 0.
React 16.5
The view attribute identifies the AbstractView from which the event was generated.
The view attribute identifies the AbstractView from which the event was generated. The un-initialized value of this attribute must be null.
https://github.com/facebook/react/blob/master/packages/react-dom/src/events/SyntheticPointerEvent.js