Trait

com.raquo.domtypes.jsdom.defs.eventProps

WindowEventProps

Related Doc: package eventProps

Permalink

trait WindowEventProps[EP[_ <: Event]] extends GlobalEventProps[EP] with WindowOnlyEventProps[EP]

Matches WindowEventHandlers: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers

Self Type
WindowEventProps[EP] with EventPropBuilder[EP, Event]
Linear Supertypes
generic.defs.eventProps.WindowOnlyEventProps[EP, Event, UIEvent, BeforeUnloadEvent, HashChangeEvent, MessageEvent, PageTransitionEvent, PopStateEvent, StorageEvent], GlobalEventProps[EP], generic.defs.eventProps.MouseEventProps[EP, Event, MouseEvent, TypedTargetMouseEvent[Element], DragEvent], generic.defs.eventProps.MiscellaneousEventProps[EP, Event, UIEvent], generic.defs.eventProps.MediaEventProps[EP, Event], generic.defs.eventProps.KeyboardEventProps[EP, Event, KeyboardEvent], generic.defs.eventProps.FormEventProps[EP, Event, TypedTargetFocusEvent[Element], Event, TypedTargetEvent[Element], TypedTargetEvent[Element], TypedTargetEvent[Form], TypedTargetEvent[Input]], generic.defs.eventProps.ErrorEventProps[EP, Event, ErrorEvent], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WindowEventProps
  2. WindowOnlyEventProps
  3. GlobalEventProps
  4. MouseEventProps
  5. MiscellaneousEventProps
  6. MediaEventProps
  7. KeyboardEventProps
  8. FormEventProps
  9. ErrorEventProps
  10. AnyRef
  11. 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 onAfterPrint: EP[Event]

    Permalink

    Script to be run after the document is printed

    Script to be run after the document is printed

    Definition Classes
    WindowOnlyEventProps
  17. lazy val onBeforePrint: EP[Event]

    Permalink

    Script to be run before the document is printed

    Script to be run before the document is printed

    Definition Classes
    WindowOnlyEventProps
  18. lazy val onBeforeUnload: EP[BeforeUnloadEvent]

    Permalink

    Script to be run when the document is about to be unloaded

    Script to be run when the document is about to be unloaded

    Definition Classes
    WindowOnlyEventProps
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. lazy val onHashChange: EP[HashChangeEvent]

    Permalink

    Script to be run when there has been changes to the anchor part of the a URL

    Script to be run when there has been changes to the anchor part of the a URL

    Definition Classes
    WindowOnlyEventProps
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. lazy val onMessage: EP[MessageEvent]

    Permalink

    Script to be run when an object receives a message

    Script to be run when an object receives a message

    Definition Classes
    WindowOnlyEventProps
  50. lazy val onMessageError: EP[MessageEvent]

    Permalink

    Script to be run when an object receives a message that cannot be deserialized and therefore raises an error

    Script to be run when an object receives a message that cannot be deserialized and therefore raises an error

    Definition Classes
    WindowOnlyEventProps
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. lazy val onOffline: EP[Event]

    Permalink

    Script to be run when the browser starts to work offline

    Script to be run when the browser starts to work offline

    Definition Classes
    WindowOnlyEventProps
  59. lazy val onOnline: EP[Event]

    Permalink

    Script to be run when the browser starts to work online

    Script to be run when the browser starts to work online

    Definition Classes
    WindowOnlyEventProps
  60. lazy val onPageHide: EP[PageTransitionEvent]

    Permalink

    Script to be run when a user navigates away from a page

    Script to be run when a user navigates away from a page

    Definition Classes
    WindowOnlyEventProps
  61. lazy val onPageShow: EP[PageTransitionEvent]

    Permalink

    Script to be run when a user navigates to a page

    Script to be run when a user navigates to a page

    Definition Classes
    WindowOnlyEventProps
  62. 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
  63. 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
  64. 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
  65. lazy val onPopState: EP[PopStateEvent]

    Permalink

    Script to be run when the window's history changes

    Script to be run when the window's history changes

    Definition Classes
    WindowOnlyEventProps
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. lazy val onStorage: EP[StorageEvent]

    Permalink

    Script to be run when a Web Storage area is updated

    Script to be run when a Web Storage area is updated

    Definition Classes
    WindowOnlyEventProps
  78. 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
  79. 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
  80. 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
  81. 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
  82. lazy val onUnload: EP[UIEvent]

    Permalink

    Fires once a page has unloaded (or the browser window has been closed)

    Fires once a page has unloaded (or the browser window has been closed)

    Definition Classes
    WindowOnlyEventProps
  83. 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
  84. 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
  85. 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
  86. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from generic.defs.eventProps.WindowOnlyEventProps[EP, Event, UIEvent, BeforeUnloadEvent, HashChangeEvent, MessageEvent, PageTransitionEvent, PopStateEvent, StorageEvent]

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