Input options for the ‘dragAndDrop’ mutation.

Definition

input DragAndDropOptions {
  force: Boolean
  sourcePosition: PointOptions
  targetPosition: PointOptions
  timeout: Int
}

Fields

force: Boolean

Whether to bypass normal actionability checks for both source and target. Defaults to false.

sourcePosition: PointOptions

Specific point, relative to the source element’s top-left corner, to start the drag from.

targetPosition: PointOptions

Specific point, relative to the target element’s top-left corner, to drop onto.

timeout: Int

Maximum time in milliseconds to wait for elements to be actionable. Defaults to a global timeout.