The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

dragdrop.single

description

Allows only one element per dropzone at a time.

syntax

getDragDrop(ELEMENT_NAME).single()

notes


example(s)

@    newDragDrop("dd")@        .addDrag(getCanvas("dot"))@        .addDrop(getCanvas("start"),getCanvas("end"))@        .offset(25) $        .single()@        .log()@        .wait()
  • Will allow only one element on each canvas dropzone at the time.