dragAndDrop
Drag an item to a destination element or position.
info
The functionality of this command highly depends on the way drag and drop is implemented in your app. If you experience issues please post your example in #4134.
#
Usage#
ParametersName | Type | Details |
---|---|---|
target | Element , DragAndDropCoordinate | destination element or object with x and y properties |
options optional | DragAndDropOptions | dragAndDrop command options |
options.duration optional | Number | how long the drag should take place |
#
Exampleexample.test.js