Package-level declarations

Types

Link copied to clipboard
open class CompositionEvent(val type: EventType<CompositionEvent>, init: CompositionEventInit = definedExternally) : UIEvent

The DOM CompositionEvent represents events that occur due to the user indirectly entering text.

Link copied to clipboard
Link copied to clipboard
sealed interface DeltaMode
Link copied to clipboard
open class DragEvent(val type: EventType<DragEvent>, init: DragEventInit = definedExternally) : MouseEvent

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class FocusEvent(val type: EventType<FocusEvent>, init: FocusEventInit = definedExternally) : UIEvent

Focus-related events like focus, blur, focusin, or focusout.

Link copied to clipboard
Link copied to clipboard
open class InputEvent(val type: EventType<InputEvent>, init: InputEventInit = definedExternally) : UIEvent
Link copied to clipboard
Link copied to clipboard
open class KeyboardEvent(val type: EventType<KeyboardEvent>, init: KeyboardEventInit = definedExternally) : UIEvent

KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard.

Link copied to clipboard
Link copied to clipboard
sealed interface KeyLocation
Link copied to clipboard
sealed interface MouseButton
Link copied to clipboard
sealed interface MouseButtons : Bitmask<MouseButtons>
Link copied to clipboard
open class MouseEvent(val type: EventType<MouseEvent>, init: MouseEventInit = definedExternally) : UIEvent

Events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown.

Link copied to clipboard
Link copied to clipboard
open class PointerEvent(val type: EventType<PointerEvent>, init: PointerEventInit = definedExternally) : MouseEvent

The state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc.

Link copied to clipboard
Link copied to clipboard
open class Touch(init: TouchInit)

A single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.

Link copied to clipboard
open class TouchEvent(val type: EventType<TouchEvent>, init: TouchEventInit = definedExternally) : UIEvent

An event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth.

Link copied to clipboard
Link copied to clipboard
interface TouchInit
Link copied to clipboard

A list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries.

Link copied to clipboard
sealed interface TouchType
Link copied to clipboard
open class UIEvent(val type: EventType<UIEvent>, init: UIEventInit = definedExternally) : Event

Simple user interface events.

Link copied to clipboard
Link copied to clipboard
open class WheelEvent(val type: EventType<WheelEvent>, init: WheelEventInit = definedExternally) : MouseEvent

Events that occur due to the user moving a mouse wheel or similar input device.

Link copied to clipboard