WithEvents

interface WithEvents<out T : EventTarget>

Contains all javascript event types. Take a look here.

Sometimes it is necessary to use a more generic type (like Event) because the type that is offered to the listener is not always consistent (on different browsers, different actions, etc.)

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val aborts: Listener<Event, T>

occurs when the loading of a media is aborted

Link copied to clipboard

occurs when the loading of a media is aborted

Link copied to clipboard

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when a CSS Animation has started

Link copied to clipboard

occurs when a CSS Animation has started

Link copied to clipboard

occurs when a page is about to be printed

Link copied to clipboard

occurs when a page is about to be printed

Link copied to clipboard

occurs before the document is about to be unloaded

Link copied to clipboard

occurs before the document is about to be unloaded

Link copied to clipboard

occurs when an element loses focus

Link copied to clipboard

occurs when an element loses focus

Link copied to clipboard
open val canplays: Listener<Event, T>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open val changes: Listener<Event, T>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard

occurs when the user clicks on an element

Link copied to clipboard

occurs when the user clicks on an element

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard

occurs when the user cuts the content of an element

Link copied to clipboard

occurs when the user cuts the content of an element

Link copied to clipboard

occurs when the user double-clicks on an element

Link copied to clipboard

occurs when the user double-clicks on an element

Link copied to clipboard

occurs when the user has finished dragging an element

Link copied to clipboard

occurs when the user has finished dragging an element

Link copied to clipboard

occurs when the dragged element enters the drop target

Link copied to clipboard

occurs when the dragged element enters the drop target

Link copied to clipboard

occurs when the dragged element leaves the drop target

Link copied to clipboard

occurs when the dragged element leaves the drop target

Link copied to clipboard

occurs when the dragged element is over the drop target

Link copied to clipboard

occurs when the dragged element is over the drop target

Link copied to clipboard

occurs when an element is being dragged

Link copied to clipboard

occurs when an element is being dragged

Link copied to clipboard

occurs when the user starts to drag an element

Link copied to clipboard

occurs when the user starts to drag an element

Link copied to clipboard

occurs when the dragged element is dropped on the drop target

Link copied to clipboard

occurs when the dragged element is dropped on the drop target

Link copied to clipboard

occurs when the duration of the media is changed

Link copied to clipboard

occurs when the duration of the media is changed

Link copied to clipboard
open val endeds: Listener<Event, T>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open val errors: Listener<Event, T>

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when an element is about to get focus

Link copied to clipboard

occurs when an element is about to get focus

Link copied to clipboard

occurs when an element is about to lose focus

Link copied to clipboard

occurs when an element is about to lose focus

Link copied to clipboard

occurs when an element gets focus

Link copied to clipboard

occurs when an element gets focus

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard
open val inputs: Listener<Event, T>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open val invalids: Listener<Event, T>

occurs when an element is invalid

Link copied to clipboard

occurs when an element is invalid

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard

occurs when the user releases a key

Link copied to clipboard

occurs when the user releases a key

Link copied to clipboard

occurs when media data is loaded

Link copied to clipboard

occurs when media data is loaded

Link copied to clipboard

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open val loads: Listener<Event, T>

occurs when an object has loaded

Link copied to clipboard

occurs when an object has loaded

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard
open val messages: Listener<Event, T>

occurs when a message is received through the event source

Link copied to clipboard

occurs when a message is received through the event source

Link copied to clipboard

occurs when the user presses a mouse button over an element

Link copied to clipboard

occurs when the user presses a mouse button over an element

Link copied to clipboard

occurs when the pointer is moved onto an element

Link copied to clipboard

occurs when the pointer is moved onto an element

Link copied to clipboard

occurs when the pointer is moved out of an element

Link copied to clipboard

occurs when the pointer is moved out of an element

Link copied to clipboard

occurs when the pointer is moving while it is over an element

Link copied to clipboard

occurs when the pointer is moving while it is over an element

Link copied to clipboard

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard

occurs when a user releases a mouse button over an element

Link copied to clipboard

occurs when a user releases a mouse button over an element

Link copied to clipboard
open val offlines: Listener<Event, T>

occurs when the browser starts to work offline

Link copied to clipboard

occurs when the browser starts to work offline

Link copied to clipboard
open val onlines: Listener<Event, T>

occurs when the browser starts to work online

Link copied to clipboard

occurs when the browser starts to work online

Link copied to clipboard
open val opens: Listener<Event, T>

occurs when a connection with the event source is opened

Link copied to clipboard

occurs when a connection with the event source is opened

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard
open val pauses: Listener<Event, T>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open val playings: Listener<Event, T>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open val plays: Listener<Event, T>

occurs when the media has been started or is no longer paused

Link copied to clipboard

occurs when the media has been started or is no longer paused

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard

occurs when the playing speed of the media is changed

Link copied to clipboard

occurs when the playing speed of the media is changed

Link copied to clipboard
open val resets: Listener<Event, T>

occurs when a form is reset

Link copied to clipboard

occurs when a form is reset

Link copied to clipboard
open val resizes: Listener<Event, T>

occurs when the document view is resized

Link copied to clipboard

occurs when the document view is resized

Link copied to clipboard
open val scrolls: Listener<Event, T>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open val searchs: Listener<Event, T>

occurs when the user writes something in a search field (for )

Link copied to clipboard

occurs when the user writes something in a search field (for )

Link copied to clipboard
open val seekeds: Listener<Event, T>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open val seekings: Listener<Event, T>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open val selects: Listener<Event, T>

occurs after the user selects some text (for and

Link copied to clipboard

occurs after the user selects some text (for and

Link copied to clipboard
open val shows: Listener<Event, T>

occurs when a

element is shown as a context menu

Link copied to clipboard

occurs when a

element is shown as a context menu

Link copied to clipboard
open val stalleds: Listener<Event, T>

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard

occurs when a Web Storage area is updated

Link copied to clipboard

occurs when a Web Storage area is updated

Link copied to clipboard
open val submits: Listener<Event, T>

occurs when a form is submitted

Link copied to clipboard

occurs when a form is submitted

Link copied to clipboard
open val suspends: Listener<Event, T>

occurs when the browser is intentionally not getting media data

Link copied to clipboard

occurs when the browser is intentionally not getting media data

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
open val toggles: Listener<Event, T>

occurs when the user opens or closes the

element

Link copied to clipboard

occurs when the user opens or closes the

element

Link copied to clipboard

occurs when the touch is interrupted

Link copied to clipboard

occurs when the touch is interrupted

Link copied to clipboard

occurs when a finger is removed from a touch screen

Link copied to clipboard

occurs when a finger is removed from a touch screen

Link copied to clipboard

occurs when a finger is dragged across the screen

Link copied to clipboard

occurs when a finger is dragged across the screen

Link copied to clipboard

occurs when a finger is placed on a touch screen

Link copied to clipboard

occurs when a finger is placed on a touch screen

Link copied to clipboard

occurs when a CSS transition has completed

Link copied to clipboard

occurs when a CSS transition has completed

Link copied to clipboard
open val unloads: Listener<Event, T>

occurs once a page has unloaded (for )

Link copied to clipboard

occurs once a page has unloaded (for )

Link copied to clipboard

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard
open val waitings: Listener<Event, T>

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard
open fun aborts(init: Event.() -> Unit): Listener<Event, T>

occurs when the loading of a media is aborted

Link copied to clipboard
open fun abortsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the loading of a media is aborted

Link copied to clipboard
open fun abortsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the loading of a media is aborted

Link copied to clipboard
open fun abortsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the loading of a media is aborted

Link copied to clipboard
open fun afterprints(init: Event.() -> Unit): Listener<Event, T>

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
open fun afterprintsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
open fun afterprintsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
open fun afterprintsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
open fun animationends(init: Event.() -> Unit): Listener<Event, T>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationendsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationendsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationendsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationiterations(init: Event.() -> Unit): Listener<Event, T>

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard
open fun animationiterationsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard
open fun animationstarts(init: Event.() -> Unit): Listener<Event, T>

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when a CSS Animation has completed

Link copied to clipboard
open fun animationstartsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a CSS Animation has started

Link copied to clipboard
open fun animationstartsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a CSS Animation has started

Link copied to clipboard
open fun beforeprints(init: Event.() -> Unit): Listener<Event, T>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeprintsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeprintsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeprintsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a page is about to be printed

Link copied to clipboard
open fun beforeunloads(init: Event.() -> Unit): Listener<Event, T>

occurs before the document is about to be unloaded

Link copied to clipboard
open fun beforeunloadsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs before the document is about to be unloaded

Link copied to clipboard
open fun beforeunloadsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs before the document is about to be unloaded

Link copied to clipboard
open fun beforeunloadsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs before the document is about to be unloaded

Link copied to clipboard
open fun blurs(init: FocusEvent.() -> Unit): Listener<FocusEvent, T>

occurs when an element loses focus

Link copied to clipboard

occurs when an element loses focus

Link copied to clipboard
open fun blursCapturedIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, T>

occurs when an element loses focus

Link copied to clipboard
open fun blursIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, T>

occurs when an element loses focus

Link copied to clipboard
open fun canplays(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open fun canplaysCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open fun canplaysCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open fun canplaysIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open fun canplaythroughs(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open fun canplaythroughsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open fun canplaythroughsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open fun changes(init: Event.() -> Unit): Listener<Event, T>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open fun changesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open fun changesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open fun changesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open fun clicks(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the user clicks on an element

Link copied to clipboard

occurs when the user clicks on an element

Link copied to clipboard

occurs when the user clicks on an element

Link copied to clipboard
open fun clicksIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the user clicks on an element

Link copied to clipboard
open fun contextmenus(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard
open fun contextmenusIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard
open fun copysIf(selector: ClipboardEvent.() -> Boolean): Listener<ClipboardEvent, T>

occurs when the user copies the content of an element

Link copied to clipboard
open fun cuts(init: ClipboardEvent.() -> Unit): Listener<ClipboardEvent, T>

occurs when the user cuts the content of an element

Link copied to clipboard

occurs when the user cuts the content of an element

Link copied to clipboard

occurs when the user cuts the content of an element

Link copied to clipboard
open fun cutsIf(selector: ClipboardEvent.() -> Boolean): Listener<ClipboardEvent, T>

occurs when the user cuts the content of an element

Link copied to clipboard
open fun dblclicks(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the user double-clicks on an element

Link copied to clipboard

occurs when the user double-clicks on an element

Link copied to clipboard

occurs when the user double-clicks on an element

Link copied to clipboard
open fun dblclicksIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the user double-clicks on an element

Link copied to clipboard
open fun dragends(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when the user has finished dragging an element

Link copied to clipboard

occurs when the user has finished dragging an element

Link copied to clipboard

occurs when the user has finished dragging an element

Link copied to clipboard
open fun dragendsIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when the user has finished dragging an element

Link copied to clipboard
open fun dragenters(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when the dragged element enters the drop target

Link copied to clipboard

occurs when the dragged element enters the drop target

Link copied to clipboard

occurs when the dragged element enters the drop target

Link copied to clipboard
open fun dragentersIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when the dragged element enters the drop target

Link copied to clipboard
open fun dragleaves(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when the dragged element leaves the drop target

Link copied to clipboard

occurs when the dragged element leaves the drop target

Link copied to clipboard

occurs when the dragged element leaves the drop target

Link copied to clipboard
open fun dragleavesIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when the dragged element leaves the drop target

Link copied to clipboard
open fun dragovers(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when the dragged element is over the drop target

Link copied to clipboard

occurs when the dragged element is over the drop target

Link copied to clipboard

occurs when the dragged element is over the drop target

Link copied to clipboard
open fun dragoversIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when the dragged element is over the drop target

Link copied to clipboard
open fun drags(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when an element is being dragged

Link copied to clipboard
open fun dragsCaptured(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when an element is being dragged

Link copied to clipboard
open fun dragsCapturedIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when an element is being dragged

Link copied to clipboard
open fun dragsIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when an element is being dragged

Link copied to clipboard
open fun dragstarts(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when the user starts to drag an element

Link copied to clipboard

occurs when the user starts to drag an element

Link copied to clipboard

occurs when the user starts to drag an element

Link copied to clipboard
open fun dragstartsIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when the user starts to drag an element

Link copied to clipboard
open fun drops(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open fun dropsCaptured(init: DragEvent.() -> Unit): Listener<DragEvent, T>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open fun dropsCapturedIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open fun dropsIf(selector: DragEvent.() -> Boolean): Listener<DragEvent, T>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open fun durationchanges(init: Event.() -> Unit): Listener<Event, T>

occurs when the duration of the media is changed

Link copied to clipboard

occurs when the duration of the media is changed

Link copied to clipboard
open fun durationchangesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the duration of the media is changed

Link copied to clipboard
open fun durationchangesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the duration of the media is changed

Link copied to clipboard
open fun endeds(init: Event.() -> Unit): Listener<Event, T>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open fun endedsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open fun endedsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open fun endedsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open fun errors(init: Event.() -> Unit): Listener<Event, T>

occurs when there is an error while loading an external file (e.g. a document or an image).

Link copied to clipboard
open fun errorsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when there is an error while loading an external file (e.g. a document or an image).

Link copied to clipboard
open fun errorsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when there is an error while loading an external file (e.g. a document or an image).

Link copied to clipboard
open fun errorsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when there is an error while loading an external file (e.g. a document or an image).

Link copied to clipboard
open fun focusins(init: FocusEvent.() -> Unit): Listener<FocusEvent, T>

occurs when an element is about to get focus

Link copied to clipboard

occurs when an element is about to get focus

Link copied to clipboard

occurs when an element is about to get focus

Link copied to clipboard
open fun focusinsIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, T>

occurs when an element is about to get focus

Link copied to clipboard
open fun focusouts(init: FocusEvent.() -> Unit): Listener<FocusEvent, T>

occurs when an element is about to lose focus

Link copied to clipboard

occurs when an element is about to lose focus

Link copied to clipboard

occurs when an element is about to lose focus

Link copied to clipboard
open fun focusoutsIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, T>

occurs when an element is about to lose focus

Link copied to clipboard
open fun focuss(init: FocusEvent.() -> Unit): Listener<FocusEvent, T>

occurs when an element gets focus

Link copied to clipboard

occurs when an element gets focus

Link copied to clipboard

occurs when an element gets focus

Link copied to clipboard
open fun focussIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, T>

occurs when an element gets focus

Link copied to clipboard
open fun fullscreenchanges(init: Event.() -> Unit): Listener<Event, T>

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard
open fun fullscreenchangesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element is displayed in fullscreen mode

Link copied to clipboard
open fun fullscreenerrors(init: Event.() -> Unit): Listener<Event, T>

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard
open fun fullscreenerrorsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard
open fun inputs(init: Event.() -> Unit): Listener<Event, T>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open fun inputsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open fun inputsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open fun inputsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open fun invalids(init: Event.() -> Unit): Listener<Event, T>

occurs when an element is invalid

Link copied to clipboard
open fun invalidsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when an element is invalid

Link copied to clipboard
open fun invalidsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element is invalid

Link copied to clipboard
open fun invalidsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element is invalid

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard
open fun keyups(init: KeyboardEvent.() -> Unit): Listener<KeyboardEvent, T>

occurs when the user releases a key

Link copied to clipboard

occurs when the user releases a key

Link copied to clipboard

occurs when the user releases a key

Link copied to clipboard
open fun keyupsIf(selector: KeyboardEvent.() -> Boolean): Listener<KeyboardEvent, T>

occurs when the user releases a key

Link copied to clipboard
open fun loadeddatas(init: Event.() -> Unit): Listener<Event, T>

occurs when media data is loaded

Link copied to clipboard
open fun loadeddatasCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when media data is loaded

Link copied to clipboard
open fun loadeddatasCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when media data is loaded

Link copied to clipboard
open fun loadeddatasIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when media data is loaded

Link copied to clipboard
open fun loadedmetadatas(init: Event.() -> Unit): Listener<Event, T>

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open fun loadedmetadatasCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open fun loadedmetadatasIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open fun loads(init: Event.() -> Unit): Listener<Event, T>

occurs when an object has loaded

Link copied to clipboard
open fun loadsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when an object has loaded

Link copied to clipboard
open fun loadsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an object has loaded

Link copied to clipboard
open fun loadsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an object has loaded

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard
open fun messages(init: Event.() -> Unit): Listener<Event, T>

occurs when a message is received through the event source

Link copied to clipboard
open fun messagesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a message is received through the event source

Link copied to clipboard
open fun messagesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a message is received through the event source

Link copied to clipboard
open fun messagesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a message is received through the event source

Link copied to clipboard
open fun mousedowns(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the user presses a mouse button over an element

Link copied to clipboard

occurs when the user presses a mouse button over an element

Link copied to clipboard

occurs when the user presses a mouse button over an element

Link copied to clipboard
open fun mousedownsIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the user presses a mouse button over an element

Link copied to clipboard
open fun mouseenters(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the pointer is moved onto an element

Link copied to clipboard

occurs when the pointer is moved onto an element

Link copied to clipboard

occurs when the pointer is moved onto an element

Link copied to clipboard
open fun mouseentersIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the pointer is moved onto an element

Link copied to clipboard
open fun mouseleaves(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the pointer is moved out of an element

Link copied to clipboard

occurs when the pointer is moved out of an element

Link copied to clipboard

occurs when the pointer is moved out of an element

Link copied to clipboard
open fun mouseleavesIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the pointer is moved out of an element

Link copied to clipboard
open fun mousemoves(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the pointer is moving while it is over an element

Link copied to clipboard

occurs when the pointer is moving while it is over an element

Link copied to clipboard

occurs when the pointer is moving while it is over an element

Link copied to clipboard
open fun mousemovesIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the pointer is moving while it is over an element

Link copied to clipboard
open fun mouseouts(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard
open fun mouseoutsIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard
open fun mouseovers(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard
open fun mouseoversIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard
open fun mouseups(init: MouseEvent.() -> Unit): Listener<MouseEvent, T>

occurs when a user releases a mouse button over an element

Link copied to clipboard

occurs when a user releases a mouse button over an element

Link copied to clipboard

occurs when a user releases a mouse button over an element

Link copied to clipboard
open fun mouseupsIf(selector: MouseEvent.() -> Boolean): Listener<MouseEvent, T>

occurs when a user releases a mouse button over an element

Link copied to clipboard
open fun offlines(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser starts to work offline

Link copied to clipboard
open fun offlinesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser starts to work offline

Link copied to clipboard
open fun offlinesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser starts to work offline

Link copied to clipboard
open fun offlinesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser starts to work offline

Link copied to clipboard
open fun onlines(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser starts to work online

Link copied to clipboard
open fun onlinesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser starts to work online

Link copied to clipboard
open fun onlinesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser starts to work online

Link copied to clipboard
open fun onlinesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser starts to work online

Link copied to clipboard
open fun opens(init: Event.() -> Unit): Listener<Event, T>

occurs when a connection with the event source is opened

Link copied to clipboard
open fun opensCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a connection with the event source is opened

Link copied to clipboard
open fun opensCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a connection with the event source is opened

Link copied to clipboard
open fun opensIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a connection with the event source is opened

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard
open fun pauses(init: Event.() -> Unit): Listener<Event, T>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open fun pausesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open fun pausesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open fun pausesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open fun playings(init: Event.() -> Unit): Listener<Event, T>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open fun playingsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open fun playingsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open fun playingsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open fun plays(init: Event.() -> Unit): Listener<Event, T>

occurs when the media has been started or is no longer paused

Link copied to clipboard
open fun playsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the media has been started or is no longer paused

Link copied to clipboard
open fun playsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media has been started or is no longer paused

Link copied to clipboard
open fun playsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the media has been started or is no longer paused

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard
open fun progresss(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open fun progresssCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open fun progresssCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open fun progresssIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open fun ratechanges(init: Event.() -> Unit): Listener<Event, T>

occurs when the playing speed of the media is changed

Link copied to clipboard
open fun ratechangesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the playing speed of the media is changed

Link copied to clipboard
open fun ratechangesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the playing speed of the media is changed

Link copied to clipboard
open fun ratechangesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the playing speed of the media is changed

Link copied to clipboard
open fun resets(init: Event.() -> Unit): Listener<Event, T>

occurs when a form is reset

Link copied to clipboard
open fun resetsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a form is reset

Link copied to clipboard
open fun resetsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a form is reset

Link copied to clipboard
open fun resetsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a form is reset

Link copied to clipboard
open fun resizes(init: Event.() -> Unit): Listener<Event, T>

occurs when the document view is resized

Link copied to clipboard
open fun resizesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the document view is resized

Link copied to clipboard
open fun resizesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the document view is resized

Link copied to clipboard
open fun resizesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the document view is resized

Link copied to clipboard
open fun scrolls(init: Event.() -> Unit): Listener<Event, T>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open fun scrollsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open fun scrollsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open fun scrollsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open fun searchs(init: Event.() -> Unit): Listener<Event, T>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open fun searchsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open fun searchsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open fun searchsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open fun seekeds(init: Event.() -> Unit): Listener<Event, T>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open fun seekedsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open fun seekedsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open fun seekedsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open fun seekings(init: Event.() -> Unit): Listener<Event, T>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open fun seekingsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open fun seekingsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open fun seekingsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open fun selects(init: Event.() -> Unit): Listener<Event, T>

occurs after the user selects some text (for and

Link copied to clipboard
open fun selectsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs after the user selects some text (for and

Link copied to clipboard
open fun selectsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs after the user selects some text (for and

Link copied to clipboard
open fun selectsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs after the user selects some text (for and

Link copied to clipboard
open fun shows(init: Event.() -> Unit): Listener<Event, T>

occurs when a

element is shown as a context menu

Link copied to clipboard
open fun showsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a

element is shown as a context menu

Link copied to clipboard
open fun showsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a

element is shown as a context menu

Link copied to clipboard
open fun showsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a

element is shown as a context menu

Link copied to clipboard
open fun stalleds(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard
open fun stalledsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard
open fun stalledsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard
open fun stalledsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser is trying to get media data, but data is not available

Link copied to clipboard
open fun storages(init: StorageEvent.() -> Unit): Listener<StorageEvent, T>

occurs when a Web Storage area is updated

Link copied to clipboard

occurs when a Web Storage area is updated

Link copied to clipboard

occurs when a Web Storage area is updated

Link copied to clipboard
open fun storagesIf(selector: StorageEvent.() -> Boolean): Listener<StorageEvent, T>

occurs when a Web Storage area is updated

Link copied to clipboard
open fun submits(init: Event.() -> Unit): Listener<Event, T>

occurs when a form is submitted

Link copied to clipboard
open fun submitsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a form is submitted

Link copied to clipboard
open fun submitsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a form is submitted

Link copied to clipboard
open fun submitsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a form is submitted

Link copied to clipboard
abstract fun <X : Event> subscribe(eventName: String, capture: Boolean = false, selector: X.() -> Boolean = { true }): Listener<X, T>

Creates an Listener for the given event eventName.

Link copied to clipboard
open fun suspends(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser is intentionally not getting media data

Link copied to clipboard
open fun suspendsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser is intentionally not getting media data

Link copied to clipboard
open fun suspendsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser is intentionally not getting media data

Link copied to clipboard
open fun suspendsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the browser is intentionally not getting media data

Link copied to clipboard
open fun timeupdates(init: Event.() -> Unit): Listener<Event, T>

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

Link copied to clipboard
open fun timeupdatesCaptured(init: Event.() -> Unit): Listener<Event, T>

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

Link copied to clipboard
open fun timeupdatesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

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

Link copied to clipboard
open fun timeupdatesIf(selector: Event.() -> Boolean): Listener<Event, T>

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

Link copied to clipboard
open fun toggles(init: Event.() -> Unit): Listener<Event, T>

occurs when the user opens or closes the

element

Link copied to clipboard
open fun togglesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the user opens or closes the

element

Link copied to clipboard
open fun togglesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user opens or closes the

element

Link copied to clipboard
open fun togglesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the user opens or closes the

element

Link copied to clipboard
open fun touchcancels(init: TouchEvent.() -> Unit): Listener<TouchEvent, T>

occurs when the touch is interrupted

Link copied to clipboard

occurs when the touch is interrupted

Link copied to clipboard

occurs when the touch is interrupted

Link copied to clipboard
open fun touchcancelsIf(selector: TouchEvent.() -> Boolean): Listener<TouchEvent, T>

occurs when the touch is interrupted

Link copied to clipboard
open fun touchends(init: TouchEvent.() -> Unit): Listener<TouchEvent, T>

occurs when a finger is removed from a touch screen

Link copied to clipboard

occurs when a finger is removed from a touch screen

Link copied to clipboard

occurs when a finger is removed from a touch screen

Link copied to clipboard
open fun touchendsIf(selector: TouchEvent.() -> Boolean): Listener<TouchEvent, T>

occurs when a finger is removed from a touch screen

Link copied to clipboard
open fun touchmoves(init: TouchEvent.() -> Unit): Listener<TouchEvent, T>

occurs when a finger is dragged across the screen

Link copied to clipboard

occurs when a finger is dragged across the screen

Link copied to clipboard

occurs when a finger is dragged across the screen

Link copied to clipboard
open fun touchmovesIf(selector: TouchEvent.() -> Boolean): Listener<TouchEvent, T>

occurs when a finger is dragged across the screen

Link copied to clipboard
open fun touchstarts(init: TouchEvent.() -> Unit): Listener<TouchEvent, T>

occurs when a finger is placed on a touch screen

Link copied to clipboard

occurs when a finger is placed on a touch screen

Link copied to clipboard

occurs when a finger is placed on a touch screen

Link copied to clipboard
open fun touchstartsIf(selector: TouchEvent.() -> Boolean): Listener<TouchEvent, T>

occurs when a finger is placed on a touch screen

Link copied to clipboard
open fun transitionends(init: Event.() -> Unit): Listener<Event, T>

occurs when a CSS transition has completed

Link copied to clipboard
open fun transitionendsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when a CSS transition has completed

Link copied to clipboard
open fun transitionendsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a CSS transition has completed

Link copied to clipboard
open fun transitionendsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when a CSS transition has completed

Link copied to clipboard
open fun unloads(init: Event.() -> Unit): Listener<Event, T>

occurs once a page has unloaded (for )

Link copied to clipboard
open fun unloadsCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs once a page has unloaded (for )

Link copied to clipboard
open fun unloadsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs once a page has unloaded (for )

Link copied to clipboard
open fun unloadsIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs once a page has unloaded (for )

Link copied to clipboard
open fun volumechanges(init: Event.() -> Unit): Listener<Event, T>

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard
open fun volumechangesCaptured(init: Event.() -> Unit): Listener<Event, T>

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard
open fun volumechangesCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard
open fun volumechangesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the volume of the media has changed (includes setting the volume to "mute")

Link copied to clipboard
open fun waitings(init: Event.() -> Unit): Listener<Event, T>

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

Link copied to clipboard
open fun waitingsCaptured(init: Event.() -> Unit): Listener<Event, T>

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

Link copied to clipboard
open fun waitingsCapturedIf(selector: Event.() -> Boolean): Listener<Event, T>

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

Link copied to clipboard
open fun waitingsIf(selector: Event.() -> Boolean): Listener<Event, T>

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

Link copied to clipboard
open fun wheels(init: WheelEvent.() -> Unit): Listener<WheelEvent, T>

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
open fun wheelsIf(selector: WheelEvent.() -> Boolean): Listener<WheelEvent, T>

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