Trait

com.raquo.domtypes.generic.defs.eventProps

MouseEventProps

Related Doc: package eventProps

Permalink

trait MouseEventProps[EP[_ <: DomEvent], DomEvent, DomMouseEvent <: DomEvent, DomElementMouseEvent <: DomMouseEvent, DomDragEvent <: DomMouseEvent] extends AnyRef

Mouse Events: triggered by a mouse, or similar user actions.

DomElementMouseEvent

A DomMouseEvent that has an Element as target. This event type has no corresponding type in JS DOM. See our own TypedTargetEvent trait.

Self Type
MouseEventProps[EP, DomEvent, DomMouseEvent, DomElementMouseEvent, DomDragEvent] with EventPropBuilder[EP, DomEvent]
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MouseEventProps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. lazy val onClick: EP[DomElementMouseEvent]

    Permalink

    The click event is raised when the user clicks on an element.

    The click event is raised when the user clicks on an element. The click event will occur after the mousedown and mouseup events.

    MDN

  15. lazy val onContextMenu: EP[DomMouseEvent]

    Permalink

    Script to be run when a context menu is triggered

  16. lazy val onDblClick: EP[DomElementMouseEvent]

    Permalink

    The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.

    The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.

    MDN

  17. lazy val onDrag: EP[DomDragEvent]

    Permalink

    Script to be run when an element is dragged

  18. lazy val onDragEnd: EP[DomDragEvent]

    Permalink

    Script to be run at the end of a drag operation

  19. lazy val onDragEnter: EP[DomDragEvent]

    Permalink

    Script to be run when an element has been dragged to a valid drop target

  20. lazy val onDragLeave: EP[DomDragEvent]

    Permalink

    Script to be run when an element leaves a valid drop target

  21. lazy val onDragOver: EP[DomDragEvent]

    Permalink

    Script to be run when an element is being dragged over a valid drop target

  22. lazy val onDragStart: EP[DomDragEvent]

    Permalink

    Script to be run at the start of a drag operation

  23. lazy val onDrop: EP[DomDragEvent]

    Permalink

    Script to be run when dragged element is being dropped

  24. lazy val onMouseDown: EP[DomElementMouseEvent]

    Permalink

    The mousedown event is raised when the user presses the mouse button.

    The mousedown event is raised when the user presses the mouse button.

    MDN

  25. lazy val onMouseEnter: EP[DomElementMouseEvent]

    Permalink

    The mouseenter event is fired when a pointing device (usually a mouse) is moved over the element that has the listener attached.

    The mouseenter event is fired when a pointing device (usually a mouse) is moved over the element that has the listener attached.

    Similar to mouseover, it differs in that it doesn't bubble and that it isn't sent when the pointer is moved from one of its descendants' physical space to its own physical space.

    With deep hierarchies, the amount of mouseenter events sent can be quite huge and cause significant performance problems. In such cases, it is better to listen for mouseover events.

    MDN

  26. lazy val onMouseLeave: EP[DomElementMouseEvent]

    Permalink

    The mouseleave event is fired when the pointer of a pointing device (usually a mouse) is moved out of an element.

    The mouseleave event is fired when the pointer of a pointing device (usually a mouse) is moved out of an element.

    mouseleave and mouseout are similar but differ in that mouseleave does not bubble and mouseout does.

    This means that mouseleave is fired when the pointer has exited the element and all of its descendants, whereas mouseout is fired when the pointer leaves the element or leaves one of the element's descendants (even if the pointer is still within the element).

    MDN

  27. lazy val onMouseMove: EP[DomElementMouseEvent]

    Permalink

    The mousemove event is raised when the user moves the mouse.

    The mousemove event is raised when the user moves the mouse.

    MDN

  28. lazy val onMouseOut: EP[DomElementMouseEvent]

    Permalink

    The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).

    The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).

    MDN

  29. lazy val onMouseOver: EP[DomElementMouseEvent]

    Permalink

    The mouseover event is raised when the user moves the mouse over a particular element.

    The mouseover event is raised when the user moves the mouse over a particular element.

    MDN

  30. lazy val onMouseUp: EP[DomElementMouseEvent]

    Permalink

    The mouseup event is raised when the user releases the mouse button.

    The mouseup event is raised when the user releases the mouse button.

    MDN

  31. lazy val onWheel: EP[DomMouseEvent]

    Permalink

    Fires when the mouse wheel rolls up or down over an element

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped