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.