trait SyntheticPointerEvent[+DOMEventTarget <: Node] extends Object with SyntheticMouseEvent[DOMEventTarget]
https://github.com/facebook/react/blob/master/packages/react-dom/src/events/SyntheticPointerEvent.js
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- SyntheticPointerEvent
- SyntheticMouseEvent
- SyntheticUIEvent
- SyntheticEvent
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val altKey: Boolean
- Definition Classes
- SyntheticMouseEvent
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bubbles: Boolean
- Definition Classes
- SyntheticEvent
- val button: Int
0 = left mouse button, 1 = middle, 2 = right
0 = left mouse button, 1 = middle, 2 = right
- Definition Classes
- SyntheticMouseEvent
- val buttons: Int
- Definition Classes
- SyntheticMouseEvent
- val cancelable: Boolean
- Definition Classes
- SyntheticEvent
- val clientX: Double
- Definition Classes
- SyntheticMouseEvent
- val clientY: Double
- Definition Classes
- SyntheticMouseEvent
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val ctrlKey: Boolean
- Definition Classes
- SyntheticMouseEvent
- val currentTarget: DOMEventTarget
- Definition Classes
- SyntheticEvent
- def defaultPrevented: Boolean
- Definition Classes
- SyntheticEvent
- def detail: Double
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.
- Definition Classes
- SyntheticUIEvent
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val eventPhase: Double
- Definition Classes
- SyntheticEvent
- val eventType: String
- Definition Classes
- SyntheticEvent
- Annotations
- @JSName("type")
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getModifierState(keyArg: String): Boolean
- Definition Classes
- SyntheticMouseEvent
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val height: Double
- def isDefaultPrevented(): Boolean
- Definition Classes
- SyntheticEvent
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPersistent(): Boolean
- Definition Classes
- SyntheticEvent
- val isPrimary: Boolean
- def isPropagationStopped(): Boolean
- Definition Classes
- SyntheticEvent
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val isTrusted: Boolean
- Definition Classes
- SyntheticEvent
- val metaKey: Boolean
- Definition Classes
- SyntheticMouseEvent
- val movementX: Long
- Definition Classes
- SyntheticMouseEvent
- Since
React 16.5
- val movementY: Long
- Definition Classes
- SyntheticMouseEvent
- Since
React 16.5
- val nativeEvent: PointerEvent
- Definition Classes
- SyntheticPointerEvent → SyntheticMouseEvent → SyntheticUIEvent → SyntheticEvent
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pageX: Double
- Definition Classes
- SyntheticMouseEvent
- val pageY: Double
- Definition Classes
- SyntheticMouseEvent
- def persist(): Unit
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.
- Definition Classes
- SyntheticEvent
- val pointerId: Double
- val pointerType: String
- val pressure: Double
- def preventDefault(): Unit
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
- Definition Classes
- SyntheticEvent
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val relatedTarget: EventTarget
- Definition Classes
- SyntheticMouseEvent
- val screenX: Double
- Definition Classes
- SyntheticMouseEvent
- val screenY: Double
- Definition Classes
- SyntheticMouseEvent
- val shiftKey: Boolean
- Definition Classes
- SyntheticMouseEvent
- def stopPropagation(): Unit
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.
- Definition Classes
- SyntheticEvent
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tangentialPressure: Double
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.
- Since
React 16.5
- val target: DOMEventTarget
- Definition Classes
- SyntheticEvent
- val tiltX: Double
- val tiltY: Double
- val timeStamp: Double
- Definition Classes
- SyntheticEvent
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- val twist: Int
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.
- Since
React 16.5
- def valueOf(): Any
- Definition Classes
- Object
- val view: Object
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.
- Definition Classes
- SyntheticUIEvent
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val width: Double
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.