Skip to main content

Module input

Module input 

Source

Structs§

CancelDraggingParams
DispatchDragEventParams
Dispatches a drag event into the page.
DispatchKeyEventParams
Dispatches a key event to the page.
DispatchMouseEventParams
Dispatches a mouse event to the page.
DispatchTouchEventParams
Dispatches a touch event to the page.
DragData
DragDataItem
EmulateTouchFromMouseEventParams
Emulates touch event from the mouse event parameters.
ImeSetCompositionParams
This method sets the current candidate text for IME. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition.
InsertTextParams
This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME.
SetIgnoreInputEventsParams
Ignores input events (useful while auditing page).
SetInterceptDragsParams
Prevents default drag and drop behavior and instead emits ‘Input.dragIntercepted’ events. Drag and drop behavior can be directly controlled via ‘Input.dispatchDragEvent’.
SynthesizePinchGestureParams
Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
SynthesizeScrollGestureParams
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
SynthesizeTapGestureParams
Synthesizes a tap gesture over a time period by issuing appropriate touch events.
TouchPoint

Enums§

GestureSourceType
MouseButton

Type Aliases§

TimeSinceEpoch
UTC time in seconds, counted from January 1, 1970.