t

japgolly.scalajs.react.raw

SyntheticMouseEvent

trait SyntheticMouseEvent[+DOMEventTarget <: Node] extends Object with SyntheticUIEvent[DOMEventTarget]

https://github.com/facebook/react/blob/master/packages/react-dom/src/events/SyntheticMouseEvent.js

Annotations
@RawJSType() @native() @nowarn( "cat=unused" )
Linear Supertypes
SyntheticUIEvent[DOMEventTarget], SyntheticEvent[DOMEventTarget], Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SyntheticMouseEvent
  2. SyntheticUIEvent
  3. SyntheticEvent
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val altKey: Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val bubbles: Boolean
    Definition Classes
    SyntheticEvent
  7. val button: Int

    0 = left mouse button, 1 = middle, 2 = right

  8. val buttons: Int
  9. val cancelable: Boolean
    Definition Classes
    SyntheticEvent
  10. val clientX: Double
  11. val clientY: Double
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. val ctrlKey: Boolean
  14. val currentTarget: DOMEventTarget
    Definition Classes
    SyntheticEvent
  15. def defaultPrevented: Boolean
    Definition Classes
    SyntheticEvent
  16. 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
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. val eventPhase: Double
    Definition Classes
    SyntheticEvent
  20. val eventType: String
    Definition Classes
    SyntheticEvent
    Annotations
    @JSName( "type" )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def getModifierState(keyArg: String): Boolean
  23. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def isDefaultPrevented(): Boolean
    Definition Classes
    SyntheticEvent
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isPersistent(): Boolean
    Definition Classes
    SyntheticEvent
  28. def isPropagationStopped(): Boolean
    Definition Classes
    SyntheticEvent
  29. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  30. val isTrusted: Boolean
    Definition Classes
    SyntheticEvent
  31. val metaKey: Boolean
  32. val movementX: Long

    Since

    React 16.5

  33. val movementY: Long

    Since

    React 16.5

  34. val nativeEvent: MouseEvent
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. val pageX: Double
  39. val pageY: Double
  40. 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
  41. 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
  42. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  43. val relatedTarget: EventTarget
  44. val screenX: Double
  45. val screenY: Double
  46. val shiftKey: Boolean
  47. 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
  48. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  49. val target: DOMEventTarget
    Definition Classes
    SyntheticEvent
  50. val timeStamp: Double
    Definition Classes
    SyntheticEvent
  51. def toLocaleString(): String
    Definition Classes
    Object
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. def valueOf(): Any
    Definition Classes
    Object
  54. 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
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. 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.

Inherited from SyntheticUIEvent[DOMEventTarget]

Inherited from SyntheticEvent[DOMEventTarget]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped