ScreenCILocatorDragToOptions
ScreenCILocatorDragToOptions =
Omit<NonNullable<Parameters<Locator["dragTo"]>[1]>,"steps"> &CursorActionMoveOptions&MouseMoveTimingOption&object
Defined in: types.ts:738
Type Declaration
Section titled “Type Declaration”dragSteps?
Section titled “dragSteps?”
optionaldragSteps?:number
Minimum number of intermediate cursor dispatches spread across the drag,
so the browser sees a dense enough stream of moves to track the gesture
(a slider thumb, drag-and-drop hit testing). Defaults to
DEFAULT_DRAG_STEPS. Increase it for a longer or more sensitive drag.
easing?
Section titled “easing?”
optionaleasing?:Easing
sourcePosition?
Section titled “sourcePosition?”
optionalsourcePosition?:object
sourcePosition.x
Section titled “sourcePosition.x”x:
number
sourcePosition.y
Section titled “sourcePosition.y”y:
number
targetPosition?
Section titled “targetPosition?”
optionaltargetPosition?:object
targetPosition.x
Section titled “targetPosition.x”x:
number
targetPosition.y
Section titled “targetPosition.y”y:
number