Trait

com.raquo.domtypes.jsdom.defs.eventProps

HTMLElementEventProps

Related Doc: package eventProps

Permalink

trait HTMLElementEventProps[EP[_ <: Event]] extends ElementEventProps[EP] with ClipboardEventProps[EP]

Self Type
HTMLElementEventProps[EP] with EventPropBuilder[EP, Event]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HTMLElementEventProps
  2. ClipboardEventProps
  3. ElementEventProps
  4. GlobalEventProps
  5. MouseEventProps
  6. MiscellaneousEventProps
  7. MediaEventProps
  8. KeyboardEventProps
  9. FormEventProps
  10. ErrorEventProps
  11. AnyRef
  12. 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
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. lazy val onAbort: EP[Event]

    Permalink

    Script to be run on abort

    Script to be run on abort

    Definition Classes
    MediaEventProps
  16. lazy val onBlur: EP[TypedTargetFocusEvent[Element]]

    Permalink

    The blur event is raised when an element loses focus.

    The blur event is raised when an element loses focus.

    MDN

    Definition Classes
    FormEventProps
  17. lazy val onCanPlay: EP[Event]

    Permalink

    Script to be run when a file is ready to start playing (when it has buffered enough to begin)

    Script to be run when a file is ready to start playing (when it has buffered enough to begin)

    Definition Classes
    MediaEventProps
  18. lazy val onCanPlayThrough: EP[Event]

    Permalink

    Script to be run when a file can be played all the way to the end without pausing for buffering

    Script to be run when a file can be played all the way to the end without pausing for buffering

    Definition Classes
    MediaEventProps
  19. lazy val onChange: EP[TypedTargetEvent[Element]]

    Permalink

    The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.

    The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.

    MDN

    Definition Classes
    FormEventProps
  20. lazy val onClick: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  21. lazy val onContextMenu: EP[MouseEvent]

    Permalink

    Script to be run when a context menu is triggered

    Script to be run when a context menu is triggered

    Definition Classes
    MouseEventProps
  22. lazy val onCopy: EP[ClipboardEvent]

    Permalink

    Fires when the user copies the content of an element

    Fires when the user copies the content of an element

    Definition Classes
    ClipboardEventProps
  23. lazy val onCueChange: EP[Event]

    Permalink

    Script to be run when the cue changes in a <track> element

    Script to be run when the cue changes in a <track> element

    Definition Classes
    MediaEventProps
  24. lazy val onCut: EP[ClipboardEvent]

    Permalink

    Fires when the user cuts the content of an element

    Fires when the user cuts the content of an element

    Definition Classes
    ClipboardEventProps
  25. lazy val onDblClick: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  26. lazy val onDrag: EP[DragEvent]

    Permalink

    Script to be run when an element is dragged

    Script to be run when an element is dragged

    Definition Classes
    MouseEventProps
  27. lazy val onDragEnd: EP[DragEvent]

    Permalink

    Script to be run at the end of a drag operation

    Script to be run at the end of a drag operation

    Definition Classes
    MouseEventProps
  28. lazy val onDragEnter: EP[DragEvent]

    Permalink

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

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

    Definition Classes
    MouseEventProps
  29. lazy val onDragLeave: EP[DragEvent]

    Permalink

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

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

    Definition Classes
    MouseEventProps
  30. lazy val onDragOver: EP[DragEvent]

    Permalink

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

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

    Definition Classes
    MouseEventProps
  31. lazy val onDragStart: EP[DragEvent]

    Permalink

    Script to be run at the start of a drag operation

    Script to be run at the start of a drag operation

    Definition Classes
    MouseEventProps
  32. lazy val onDrop: EP[DragEvent]

    Permalink

    Script to be run when dragged element is being dropped

    Script to be run when dragged element is being dropped

    Definition Classes
    MouseEventProps
  33. lazy val onDurationChange: EP[Event]

    Permalink

    Script to be run when the length of the media changes

    Script to be run when the length of the media changes

    Definition Classes
    MediaEventProps
  34. lazy val onEmptied: EP[Event]

    Permalink

    Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)

    Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)

    Definition Classes
    MediaEventProps
  35. lazy val onEnded: EP[Event]

    Permalink

    Script to be run when the media has reach the end (a useful event for messages like "thanks for listening")

    Script to be run when the media has reach the end (a useful event for messages like "thanks for listening")

    Definition Classes
    MediaEventProps
  36. lazy val onError: EP[ErrorEvent]

    Permalink

    Script to be run when an error occurs when the file is being loaded

    Script to be run when an error occurs when the file is being loaded

    Definition Classes
    ErrorEventProps
  37. lazy val onFocus: EP[TypedTargetFocusEvent[Element]]

    Permalink

    The focus event is raised when the user sets focus on the given element.

    The focus event is raised when the user sets focus on the given element.

    MDN

    Definition Classes
    FormEventProps
  38. lazy val onInput: EP[TypedTargetEvent[Element]]

    Permalink

    The input event is fired for input, select, textarea, and contentEditable elements when it gets user input.

    The input event is fired for input, select, textarea, and contentEditable elements when it gets user input.

    Definition Classes
    FormEventProps
  39. lazy val onInvalid: EP[TypedTargetEvent[Element]]

    Permalink

    Script to be run when an element is invalid

    Script to be run when an element is invalid

    Definition Classes
    FormEventProps
  40. lazy val onKeyDown: EP[KeyboardEvent]

    Permalink

    The keydown event is raised when the user presses a keyboard key.

    The keydown event is raised when the user presses a keyboard key.

    MDN

    Definition Classes
    KeyboardEventProps
  41. lazy val onKeyPress: EP[KeyboardEvent]

    Permalink

    The keypress event should be raised when the user presses a key on the keyboard.

    The keypress event should be raised when the user presses a key on the keyboard. However, not all browsers fire keypress events for certain keys.

    Webkit-based browsers (Google Chrome and Safari, for example) do not fire keypress events on the arrow keys. Firefox does not fire keypress events on modifier keys like SHIFT.

    MDN

    Definition Classes
    KeyboardEventProps
  42. lazy val onKeyUp: EP[KeyboardEvent]

    Permalink

    The keyup event is raised when the user releases a key that's been pressed.

    The keyup event is raised when the user releases a key that's been pressed.

    MDN

    Definition Classes
    KeyboardEventProps
  43. lazy val onLoad: EP[UIEvent]

    Permalink

    The onload property of the GlobalEventHandlers mixin is an event handler for the load event of a Window, XMLHttpRequest, element, etc., which fires when the resource has loaded.

    The onload property of the GlobalEventHandlers mixin is an event handler for the load event of a Window, XMLHttpRequest, element, etc., which fires when the resource has loaded.

    https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload

    Definition Classes
    MiscellaneousEventProps
  44. lazy val onLoadStart: EP[Event]

    Permalink

    Script to be run just as the file begins to load before anything is actually loaded

    Script to be run just as the file begins to load before anything is actually loaded

    Definition Classes
    MediaEventProps
  45. lazy val onLoadedData: EP[Event]

    Permalink

    Script to be run when media data is loaded

    Script to be run when media data is loaded

    Definition Classes
    MediaEventProps
  46. lazy val onLoadedMetadata: EP[Event]

    Permalink

    Script to be run when meta data (like dimensions and duration) are loaded

    Script to be run when meta data (like dimensions and duration) are loaded

    Definition Classes
    MediaEventProps
  47. lazy val onMouseDown: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  48. lazy val onMouseEnter: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  49. lazy val onMouseLeave: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  50. lazy val onMouseMove: EP[TypedTargetMouseEvent[Element]]

    Permalink

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

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

    MDN

    Definition Classes
    MouseEventProps
  51. lazy val onMouseOut: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  52. lazy val onMouseOver: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  53. lazy val onMouseUp: EP[TypedTargetMouseEvent[Element]]

    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

    Definition Classes
    MouseEventProps
  54. lazy val onPaste: EP[ClipboardEvent]

    Permalink

    Fires when the user pastes some content in an element

    Fires when the user pastes some content in an element

    Definition Classes
    ClipboardEventProps
  55. lazy val onPause: EP[Event]

    Permalink

    Script to be run when the media is paused either by the user or programmatically

    Script to be run when the media is paused either by the user or programmatically

    Definition Classes
    MediaEventProps
  56. lazy val onPlay: EP[Event]

    Permalink

    Script to be run when the media is ready to start playing

    Script to be run when the media is ready to start playing

    Definition Classes
    MediaEventProps
  57. lazy val onPlaying: EP[Event]

    Permalink

    Script to be run when the media actually has started playing

    Script to be run when the media actually has started playing

    Definition Classes
    MediaEventProps
  58. lazy val onProgress: EP[Event]

    Permalink

    Script to be run when the browser is in the process of getting the media data

    Script to be run when the browser is in the process of getting the media data

    Definition Classes
    MediaEventProps
  59. lazy val onRateChange: EP[Event]

    Permalink

    Script to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode)

    Script to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode)

    Definition Classes
    MediaEventProps
  60. lazy val onReset: EP[TypedTargetEvent[Form]]

    Permalink

    The reset event is fired when a form is reset.

    The reset event is fired when a form is reset.

    MDN

    Definition Classes
    FormEventProps
  61. lazy val onResize: EP[UIEvent]

    Permalink

    The GlobalEventHandlers.onresize property contains an EventHandler triggered when a resize event is received.

    The GlobalEventHandlers.onresize property contains an EventHandler triggered when a resize event is received.

    https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onresize

    Definition Classes
    MiscellaneousEventProps
  62. lazy val onScroll: EP[UIEvent]

    Permalink

    An event handler for scroll events on element.

    An event handler for scroll events on element.

    https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onscroll

    Definition Classes
    MiscellaneousEventProps
  63. lazy val onSearch: EP[TypedTargetEvent[Input]]

    Permalink

    Fires when the user writes something in a search field (for <input="search">)

    Fires when the user writes something in a search field (for <input="search">)

    Definition Classes
    FormEventProps
  64. lazy val onSeeked: EP[Event]

    Permalink

    Script to be run when the seeking attribute is set to false indicating that seeking has ended

    Script to be run when the seeking attribute is set to false indicating that seeking has ended

    Definition Classes
    MediaEventProps
  65. lazy val onSeeking: EP[Event]

    Permalink

    Script to be run when the seeking attribute is set to true indicating that seeking is active

    Script to be run when the seeking attribute is set to true indicating that seeking is active

    Definition Classes
    MediaEventProps
  66. lazy val onSelect: EP[TypedTargetEvent[Element]]

    Permalink

    The select event only fires when text inside a text input or textarea is selected.

    The select event only fires when text inside a text input or textarea is selected. The event is fired after the text has been selected.

    MDN

    Definition Classes
    FormEventProps
  67. lazy val onShow: EP[Event]

    Permalink

    Fires when a <menu> element is shown as a context menu

    Fires when a <menu> element is shown as a context menu

    Definition Classes
    MiscellaneousEventProps
  68. lazy val onStalled: EP[Event]

    Permalink

    Script to be run when the browser is unable to fetch the media data for whatever reason

    Script to be run when the browser is unable to fetch the media data for whatever reason

    Definition Classes
    MediaEventProps
  69. lazy val onSubmit: EP[TypedTargetEvent[Form]]

    Permalink

    The submit event is fired when the user clicks a submit button in a form (). MDN

    The submit event is fired when the user clicks a submit button in a form (). MDN

    Definition Classes
    FormEventProps
  70. lazy val onSuspend: EP[Event]

    Permalink

    Script to be run when fetching the media data is stopped before it is completely loaded for whatever reason

    Script to be run when fetching the media data is stopped before it is completely loaded for whatever reason

    Definition Classes
    MediaEventProps
  71. lazy val onTimeUpdate: EP[Event]

    Permalink

    Script to be run when the playing position has changed (like when the user fast forwards to a different point in the media)

    Script to be run when the playing position has changed (like when the user fast forwards to a different point in the media)

    Definition Classes
    MediaEventProps
  72. lazy val onToggle: EP[Event]

    Permalink

    Fires when the user opens or closes the <details> element

    Fires when the user opens or closes the <details> element

    Definition Classes
    MiscellaneousEventProps
  73. lazy val onVolumeChange: EP[Event]

    Permalink

    Script to be run each time the volume is changed which (includes setting the volume to "mute")

    Script to be run each time the volume is changed which (includes setting the volume to "mute")

    Definition Classes
    MediaEventProps
  74. lazy val onWaiting: EP[Event]

    Permalink

    Script to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)

    Script to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)

    Definition Classes
    MediaEventProps
  75. lazy val onWheel: EP[MouseEvent]

    Permalink

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

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

    Definition Classes
    MouseEventProps
  76. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  78. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long, arg1: Int): Unit

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

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

Inherited from generic.defs.eventProps.ClipboardEventProps[EP, Event, ClipboardEvent]

Inherited from ElementEventProps[EP]

Inherited from GlobalEventProps[EP]

Inherited from generic.defs.eventProps.MouseEventProps[EP, Event, MouseEvent, TypedTargetMouseEvent[Element], DragEvent]

Inherited from generic.defs.eventProps.MiscellaneousEventProps[EP, Event, UIEvent]

Inherited from generic.defs.eventProps.MediaEventProps[EP, Event]

Inherited from generic.defs.eventProps.KeyboardEventProps[EP, Event, KeyboardEvent]

Inherited from generic.defs.eventProps.FormEventProps[EP, Event, TypedTargetFocusEvent[Element], Event, TypedTargetEvent[Element], TypedTargetEvent[Element], TypedTargetEvent[Form], TypedTargetEvent[Input]]

Inherited from generic.defs.eventProps.ErrorEventProps[EP, Event, ErrorEvent]

Inherited from AnyRef

Inherited from Any

Ungrouped