Modules§
- Contains types to define keyboard related events.
Structs§
- The DragEvent interface is a DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way.
- A form value that may either be a list of values or a single value
- Pressed modifier keys.
- An Element that has been rendered and allows reading and modifying information about it.
- A synthetic event that wraps a web-style
MouseEvent
Data associated with a mouse event - A platform specific event.
- Data associated with a WheelEvent
Enums§
- Code is the physical position of a key.
- Key represents the meaning of a keypress.
- The location attribute contains an indication of the logical location of the key on the device.
- The error type for the MountedData
- The error type for the MountedData
- The way that scrolling should be performed
Traits§
- A trait for any object that has the data for an animation event
- A trait for any object that has the data for a composition event
- A trait for any object that has the data for a drag event
- An object that has all the data for a form event
- A trait for any object that has the data for an image event
- A trait for any object that has the data for a mouse event
- A trait for any object that has the data for a pointer event
- A trait for touch point data
- A converter between a platform specific event and a general event. All code in a renderer that has a large binary size should be placed in this trait. Each of these functions should be snipped in high levels of optimization.
- A interaction that contains data about the location of the event.
- A interaction that contains data about the location of the event.
- A interaction that contains data about the current state of the keyboard modifiers.
- A interaction that contains data about the pointer button(s) that triggered the event.
- An Element that has been rendered and allows reading and modifying information about it.
Functions§
- abort
- onanimationend
- onanimationiteration
- onanimationstart
- onblur
- canplay
- canplaythrough
- onchange
- Execute a callback when a button is clicked.
- oncompositionend
- oncompositionstart
- oncompositionupdate
- oncontextmenu
- oncopy
- oncut
- ondblclick
Deprecated General Event Handler Information
General Event Handler Information
- ondrag
- ondragend
- ondragenter
- ondragexit
- ondragleave
- ondragover
- ondragstart
- ondrop
- durationchange
- emptied
- encrypted
- ended
- onerror
- onfocus
General Event Handler Information
General Event Handler Information
- gotpointercapture
- The
oninput
event is fired when the value of a<input>
,<select>
, or<textarea>
element is changed. - oninvalid
- onkeydown
- onkeypress
- onkeyup
- onload
- loadeddata
- loadedmetadata
- loadstart
- lostpointercapture
- The onmounted event is fired when the element is first added to the DOM. This event gives you a
MountedData
object and lets you interact with the raw DOM element. - onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onpaste
- pause
- play
- playing
- pointercancel
- pointerdown
- pointerenter
- pointerleave
- pointermove
- pointerout
- pointerover
- pointerup
- progress
- ratechange
- onreset
- onresize
- onscroll
- seeked
- seeking
- select
- selectionchange
- selectstart
- stalled
- onsubmit
- suspend
- timeupdate
- ontoggle
- touchcancel
- touchend
- touchmove
- touchstart
- transitionend
- volumechange
- waiting
- Called when the mouse wheel is rotated over an element.
Type Aliases§
- The MountedResult type for the MountedData
- A synthetic event that wraps a web-style
PointerEvent
- The ResizeResult type for the ResizeData
- A synthetic event that wraps a web-style
WheelEvent