Link Search Menu Expand Document

dragdrop.wait

description

Pauses the script’s execution until one element is dragged and dropped onto a dropzone.

syntax

getDragDrop(ELEMENT_NAME).wait()

notes


example(s)

@    newDragDrop("dd")@        .addDrag(getCanvas("dot"))@        .addDrop(getCanvas("start"),getCanvas("end"))@        .offset(25) @        .single()@        .log()$        .wait()
  • Pauses the script’s execution until element “dot” is dragged and dropped onto a dropzone.