Package-level declarations

Types

Link copied to clipboard
open external 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
external interface CompositionEventInit : UIEventInit
Link copied to clipboard
Link copied to clipboard
sealed external class CompositionEventTypes_deprecated
Link copied to clipboard
sealed external interface DeltaMode
Link copied to clipboard
open external 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
external interface DragEventInit : MouseEventInit
Link copied to clipboard
Link copied to clipboard
sealed external class DragEventTypes_deprecated
Link copied to clipboard
external interface EventModifierInit : UIEventInit
Link copied to clipboard
open external class FocusEvent(val type: EventType<FocusEvent>, init: FocusEventInit = definedExternally) : UIEvent

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

Link copied to clipboard
external interface FocusEventInit : UIEventInit
Link copied to clipboard
Link copied to clipboard
sealed external class FocusEventTypes_deprecated
Link copied to clipboard
open external class InputEvent(val type: EventType<InputEvent>, init: InputEventInit = definedExternally) : UIEvent
Link copied to clipboard
external interface InputEventInit : UIEventInit
Link copied to clipboard
Link copied to clipboard
sealed external class InputEventTypes_deprecated
Link copied to clipboard
open external 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
Link copied to clipboard
sealed external class KeyboardEventTypes_deprecated
Link copied to clipboard
sealed external interface KeyLocation
Link copied to clipboard
sealed external interface MouseButton
Link copied to clipboard
sealed external interface MouseButtons : Bitmask<MouseButtons>
Link copied to clipboard
open external 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
external interface MouseEventInit : EventModifierInit
Link copied to clipboard
Link copied to clipboard
sealed external class MouseEventTypes_deprecated
Link copied to clipboard
open external 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
external interface PointerEventInit : MouseEventInit
Link copied to clipboard
Link copied to clipboard
sealed external class PointerEventTypes_deprecated
Link copied to clipboard
open external class ToggleEvent(val type: EventType<ToggleEvent>, init: ToggleEventInit = definedExternally) : Event
Link copied to clipboard
external interface ToggleEventInit : EventInit
Link copied to clipboard
Link copied to clipboard
sealed external class ToggleEventTypes_deprecated
Link copied to clipboard
external 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 external 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
external interface TouchEventInit : EventModifierInit
Link copied to clipboard
Link copied to clipboard
sealed external class TouchEventTypes_deprecated
Link copied to clipboard
external interface TouchInit
Link copied to clipboard
sealed external class TouchList : ArrayLike<Touch> , JsIterable<Touch>

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 external interface TouchType
Link copied to clipboard
open external class UIEvent(val type: EventType<UIEvent>, init: UIEventInit = definedExternally) : Event

Simple user interface events.

Link copied to clipboard
external interface UIEventInit : EventInit
Link copied to clipboard
sealed external class UIEventTypes : UIEventTypes_deprecated
Link copied to clipboard
sealed external class UIEventTypes_deprecated
Link copied to clipboard
open external 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
external interface WheelEventInit : MouseEventInit
Link copied to clipboard
Link copied to clipboard
sealed external class WheelEventTypes_deprecated