Structs§
- Cancels any active dragging in the page. cancelDragging
- Cancels any active dragging in the page. cancelDragging
- Dispatches a drag event into the page. dispatchDragEvent
- Dispatches a drag event into the page. dispatchDragEvent
- Dispatches a key event to the page. dispatchKeyEvent
- Dispatches a key event to the page. dispatchKeyEvent
- Dispatches a mouse event to the page. dispatchMouseEvent
- Dispatches a mouse event to the page. dispatchMouseEvent
- Dispatches a touch event to the page. dispatchTouchEvent
- Dispatches a touch event to the page. dispatchTouchEvent
- Emulates touch event from the mouse event parameters. emulateTouchFromMouseEvent
- Emulates touch event from the mouse event parameters. emulateTouchFromMouseEvent
- Emitted only when
Input.setInterceptDrags
is enabled. Use this data withInput.dispatchDragEvent
to restore normal drag and drop behavior. dragIntercepted - 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. imeSetComposition
- 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. imeSetComposition
- This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME. insertText
- This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME. insertText
- Ignores input events (useful while auditing page). setIgnoreInputEvents
- Ignores input events (useful while auditing page). setIgnoreInputEvents
- Prevents default drag and drop behavior and instead emits
Input.dragIntercepted
events. Drag and drop behavior can be directly controlled viaInput.dispatchDragEvent
. setInterceptDrags - Prevents default drag and drop behavior and instead emits
Input.dragIntercepted
events. Drag and drop behavior can be directly controlled viaInput.dispatchDragEvent
. setInterceptDrags - Synthesizes a pinch gesture over a time period by issuing appropriate touch events. synthesizePinchGesture
- Synthesizes a pinch gesture over a time period by issuing appropriate touch events. synthesizePinchGesture
- Synthesizes a scroll gesture over a time period by issuing appropriate touch events. synthesizeScrollGesture
- Synthesizes a scroll gesture over a time period by issuing appropriate touch events. synthesizeScrollGesture
- Synthesizes a tap gesture over a time period by issuing appropriate touch events. synthesizeTapGesture
- Synthesizes a tap gesture over a time period by issuing appropriate touch events. synthesizeTapGesture
- UTC time in seconds, counted from January 1, 1970. TimeSinceEpoch
Enums§
- Type of the drag event.
- Type of the key event.
- Pointer type (default: “mouse”).
- Type of the mouse event.
- Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one.
- Type of the mouse event.