Expand description
The Input domain.
Types, command parameters and event payloads for the Input
domain. The method-name constants for the same domain are in
crate::methods.
Structs§
- Cancel
Dragging Params - Cancels any active dragging in the page.
- Dispatch
Drag Event Params - Dispatches a drag event into the page.
- Dispatch
KeyEvent Params - Dispatches a key event to the page.
- Dispatch
Mouse Event Params - Dispatches a mouse event to the page.
- Dispatch
Touch Event Params - Dispatches a touch event to the page.
- Drag
Data - Experimental: may change without notice.
- Drag
Data Item - Experimental: may change without notice.
- Drag
Intercepted Event - Emitted only when
Input.setInterceptDragsis enabled. Use this data withInput.dispatchDragEventto restore normal drag and drop behavior. - Emulate
Touch From Mouse Event Params - Emulates touch event from the mouse event parameters.
- ImeSet
Composition Params - 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.
- Insert
Text Params - This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME.
- SetIgnore
Input Events Params - Ignores input events (useful while auditing page).
- SetIntercept
Drags Params - Prevents default drag and drop behavior and instead emits
Input.dragInterceptedevents. Drag and drop behavior can be directly controlled viaInput.dispatchDragEvent. - Synthesize
Pinch Gesture Params - Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
- Synthesize
Scroll Gesture Params - Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
- Synthesize
TapGesture Params - Synthesizes a tap gesture over a time period by issuing appropriate touch events.
- Touch
Point
Enums§
- Dispatch
Drag Event Type - The values
typeaccepts ondispatchDragEvent. - Dispatch
KeyEvent Type - The values
typeaccepts ondispatchKeyEvent. - Dispatch
Mouse Event Pointer Type - The values
pointerTypeaccepts ondispatchMouseEvent. - Dispatch
Mouse Event Type - The values
typeaccepts ondispatchMouseEvent. - Dispatch
Touch Event Type - The values
typeaccepts ondispatchTouchEvent. - Emulate
Touch From Mouse Event Type - The values
typeaccepts onemulateTouchFromMouseEvent. - Gesture
Source Type - Experimental: may change without notice.
- Mouse
Button
Type Aliases§
- Time
Since Epoch - UTC time in seconds, counted from January 1, 1970.