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

The DragEvent interface is a DOM event that represents a drag and drop interaction.

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

The FocusEvent interface represents focus-related events, including Element/focus_event, Element/blur_event, Element/focusin_event, and Element/focusout_event.

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

The InputEvent interface represents an event notifying the user of editable content changes.

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

The MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse).

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

The PointerEvent interface represents 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)

The Touch interface represents a single contact point on a touch-sensitive device.

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

The TouchEvent interface represents an UIEvent which is sent when the state of contacts with a touch-sensitive surface changes.

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

The TouchList interface represents a list of contact points on a touch surface.

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

The UIEvent interface represents simple user interface events.

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

The WheelEvent interface represents events that occur due to the user moving a mouse wheel or similar input device.

Link copied to clipboard