Module moxie_dom::prelude::event [−][src]
Expand description
Event types.
Structs
The loading of a resource has been aborted. MDN documentation
A builder for events.
Progression has been terminated (not due to an error). MDN documentation
A builder for events.
A transaction has been aborted. MDN documentation
A builder for events.
The associated document has started printing or the print preview has been closed. MDN documentation
A builder for events.
A CSS animation has aborted. MDN documentation
A builder for events.
A CSS animation has completed. MDN documentation
A builder for events.
A CSS animation is ticked. MDN documentation
A builder for events.
A CSS animation has started. MDN documentation
A builder for events.
A web application is successfully installed as a progressive web app. MDN documentation
A builder for events.
The user agent has finished capturing audio for speech recognition. MDN documentation
A builder for events.
Playback has stopped because the end of the media was reached. MDN documentation
A builder for events.
The user agent has started to capture audio for speech recognition. MDN documentation
A builder for events.
The associated document is about to be printed or previewed for printing. MDN documentation
A builder for events.
An element has lost focus (does not bubble). MDN documentation
A builder for events.
The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content. MDN documentation
A builder for events.
The user agent can play the media up to its end without having to stop for further buffering of content. MDN documentation
A builder for events.
The cancel event fires on a
A builder for events.
The change event is fired for <textarea>
elements when a change to the
element’s value is committed by the user. MDN documentation
A builder for events.
The battery begins or stops charging. MDN documentation
A builder for events.
The chargingTime attribute has been updated. MDN documentation
A builder for events.
A message is received from a child (i)frame or a parent window. MDN documentation
A builder for events.
A pointing device button has been pressed and released on an element. MDN documentation
A builder for events.
A WebSocket connection has been closed. MDN documentation
A builder for events.
The composition of a passage of text has been completed or canceled. MDN documentation
A builder for events.
The composition of a passage of text is prepared (similar to keydown for a keyboard input, but works with other inputs such as speech recognition). MDN documentation
A builder for events.
A character is added to a passage of text being composed. MDN documentation
A builder for events.
An open connection to a database is blocking a versionchange transaction on the same database. MDN documentation
A builder for events.
The right button of the mouse is clicked (before the context menu is displayed). MDN documentation
A builder for events.
A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute. MDN documentation
A builder for events.
The cuechange event fires when a TextTrack has changed the currently displaying cues. The event is fired at both the TextTrack and at the HTMLTrackElement in which it’s being presented, if any.
A builder for events.
The first frame of the media has finished loading. MDN documentation
A builder for events.
A media device such as a camera, microphone, or speaker is connected or removed from the system. MDN documentation
A builder for events.
The dischargingTime attribute has been updated. MDN documentation
A builder for events.
The document has finished loading (but not its dependent resources). MDN documentation
A builder for events.
A pointing device button is clicked twice on an element. MDN documentation
A builder for events.
An element or text selection is being dragged (every 350ms). MDN documentation
A builder for events.
A drag operation is being ended (by releasing a mouse button or hitting the escape key). MDN documentation
A builder for events.
A dragged element or text selection enters a valid drop target. MDN documentation
A builder for events.
Fired when an element is no longer the drag operation’s immediate selection target. MDN documentation
A builder for events.
A dragged element or text selection leaves a valid drop target. MDN documentation
A builder for events.
An element or text selection is being dragged over a valid drop target (every 350ms). MDN documentation
A builder for events.
The user starts dragging an element or text selection. MDN documentation
A builder for events.
An element is dropped on a valid drop target. MDN documentation
A builder for events.
The duration attribute has been updated. MDN documentation
A builder for events.
The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it. MDN documentation
A builder for events.
A generic error event.
A builder for events.
A binding of a particular event listener to a DOM node. The listener is removed when this value is dropped.
An event source connection has been failed. MDN documentation
A builder for events.
A message is received through an event source. MDN documentation
A builder for events.
An event source connection has been established. MDN documentation
A builder for events.
An element has received focus (does not bubble). MDN documentation
A builder for events.
An element is about to receive focus (bubbles). MDN documentation
A builder for events.
An element is about to lose focus (bubbles). MDN documentation
A builder for events.
A form is reset. MDN documentation
A builder for events.
An element was turned to fullscreen mode or back to normal mode. MDN documentation
A builder for events.
It was impossible to switch to fullscreen mode for technical reasons or because the permission was denied. MDN documentation
A builder for events.
A gamepad has been connected. MDN documentation
A builder for events.
A gamepad has been disconnected. MDN documentation
A builder for events.
Element receives pointer capture. MDN documentation
A builder for events.
The fragment identifier of the URL has changed (the part of the URL after the #). MDN documentation
A builder for events.
The value of an element changes or the content of an element with the attribute contenteditable is modified.
A builder for events.
A submittable element has been checked and doesn’t satisfy its constraints. MDN documentation
A builder for events.
A key is pressed down. MDN documentation
A builder for events.
A key is pressed. MDN documentation
A builder for events.
A key is released. MDN documentation
A builder for events.
The user’s preferred languages have changed. MDN documentation
A builder for events.
The level attribute has been updated. MDN documentation
A builder for events.
Progress has stopped (after “error”, “abort” or “load” have been dispatched). MDN documentation
A builder for events.
Progress has begun. MDN documentation
A builder for events.
Element lost pointer capture. MDN documentation
A builder for events.
A message error is raised when a message is received by an object. MDN documentation
A builder for events.
The metadata has been loaded. MDN documentation
A builder for events.
A pointing device button (usually a mouse) is pressed on an element. MDN documentation
A builder for events.
A pointing device is moved onto the element that has the listener attached. MDN documentation
A builder for events.
A pointing device is moved off the element that has the listener attached. MDN documentation
A builder for events.
A pointing device is moved over an element. MDN documentation
A builder for events.
A pointing device is moved off the element that has the listener attached or off one of its children. MDN documentation
A builder for events.
A pointing device is moved onto the element that has the listener attached or onto one of its children. MDN documentation
A builder for events.
A pointing device button is released over an element. MDN documentation
A builder for events.
The browser has lost access to the network. MDN documentation
A builder for events.
The browser has gained access to the network (but particular websites might be unreachable). MDN documentation
A builder for events.
The orientation of the device (portrait/landscape) has changed. MDN documentation
A builder for events.
A session history entry is being traversed from. MDN documentation
A builder for events.
A session history entry is being traversed to. MDN documentation
A builder for events.
Playback has been paused. MDN documentation
A builder for events.
Playback has begun. MDN documentation
A builder for events.
Playback has stopped because the end of the media was reached. MDN documentation
A builder for events.
The playback rate has changed. MDN documentation
A builder for events.
Playback is ready to start after having been paused or delayed due to lack of data. MDN documentation
A builder for events.
The pointer is unlikely to produce any more events. MDN documentation
A builder for events.
The pointer enters the active buttons state. MDN documentation
A builder for events.
Pointing device is moved inside the hit-testing boundary. MDN documentation
A builder for events.
Pointing device is moved out of the hit-testing boundary. MDN documentation
A builder for events.
The pointer was locked or released. MDN documentation
A builder for events.
It was impossible to lock the pointer for technical reasons or because the permission was denied. MDN documentation
A builder for events.
The pointer changed coordinates. MDN documentation
A builder for events.
The pointing device moved out of hit-testing boundary or leaves detectable hover range. MDN documentation
A builder for events.
The pointing device is moved into the hit-testing boundary. MDN documentation
A builder for events.
The pointer leaves the active buttons state. MDN documentation
A builder for events.
In progress. MDN documentation
A builder for events.
Progression has failed. MDN documentation
A builder for events.
Progression has been successful. MDN documentation
A builder for events.
The readyState attribute of a document has changed. MDN documentation
A builder for events.
A request caused an error and failed. MDN documentation
A builder for events.
A resource failed to load. MDN documentation
A builder for events.
A resource and its dependent resources have finished loading. MDN documentation
A builder for events.
The document view or an element has been scrolled. MDN documentation
A builder for events.
A seek operation completed. MDN documentation
A builder for events.
A seek operation began. MDN documentation
A builder for events.
Some text is being selected. MDN documentation
A builder for events.
The selection in the document has been changed. MDN documentation
A builder for events.
A selection just started. MDN documentation
A builder for events.
A message is received from a service worker, or a message is received in a service worker from another context. MDN documentation
A builder for events.
The node contents of a <slot>
have changed. MDN documentation
A builder for events.
Any sound — recognisable speech or not — has stopped being detected. MDN documentation
A builder for events.
Any sound — recognisable speech or not — has been detected. MDN documentation
A builder for events.
Speech recognised by the speech recognition service has stopped being detected. MDN documentation
A builder for events.
The speech recognition service has disconnected. MDN documentation
A builder for events.
A speech recognition error occurs. MDN documentation
A builder for events.
The speech recognition service returns a final result with no significant recognition. MDN documentation
A builder for events.
The speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app. MDN documentation
A builder for events.
The speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current SpeechRecognition. MDN documentation
A builder for events.
Sound that is recognised by the speech recognition service as speech has been detected. MDN documentation
A builder for events.
The user agent is trying to fetch media data, but data is unexpectedly not forthcoming. MDN documentation
A builder for events.
A storage area (localStorage or sessionStorage) has changed. MDN documentation
A builder for events.
A form is submitted. MDN documentation
A builder for events.
A request successfully completed. MDN documentation
A builder for events.
Media data loading has been suspended. MDN documentation
A builder for events.
Page loading has been stopped before the SVG was loaded. MDN documentation
A builder for events.
An error has occurred before the SVG was loaded. MDN documentation
A builder for events.
An SVG document has been loaded and parsed. MDN documentation
A builder for events.
An SVG document is being resized. MDN documentation
A builder for events.
An SVG document is being scrolled. MDN documentation
A builder for events.
An SVG document has been removed from a window or frame. MDN documentation
A builder for events.
An SVG document is being zoomed. MDN documentation
A builder for events.
The time indicated by the currentTime attribute has been updated. MDN documentation
A builder for events.
The timeout event is fired when progression is terminated due to preset time expiring. MDN documentation
A builder for events.
The browser’s resource timing buffer is full. MDN documentation
A builder for events.
A touch point has been disrupted in an implementation-specific manners (too many touch points for example). MDN documentation
A builder for events.
A touch point is removed from the touch surface. MDN documentation
A builder for events.
A touch point is moved along the touch surface. MDN documentation
A builder for events.
A touch point is placed on the touch surface. MDN documentation
A builder for events.
A transaction successfully completed. MDN documentation
A builder for events.
A versionchange transaction completed. MDN documentation
A builder for events.
The document or a dependent resource is being unloaded. MDN documentation
A builder for events.
An attempt was made to open a database with a version number higher than its current version. A versionchange transaction has been created. MDN documentation
A builder for events.
The document view has been resized. MDN documentation
A builder for events.
The content of a tab has become visible or has been hidden. MDN documentation
A builder for events.
Fires when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed. MDN documentation
A builder for events.
The volume has changed. MDN documentation
A builder for events.
Playback has stopped because of a temporary lack of data. MDN documentation
A builder for events.
A WebSocket connection has been closed with prejudice (some data couldn’t be sent for example). MDN documentation
A builder for events.
A message is received through a WebSocket. MDN documentation
A builder for events.
A WebSocket connection has been established. MDN documentation
A builder for events.
A wheel button of a pointing device is rotated in any direction. MDN documentation
A builder for events.
A message is received from a Web Worker. MDN documentation
A builder for events.
Traits
An event that can be received as the first argument to a handler callback.
A builder for an event.