ui.DragDrop.addPossibleOperation

Add a possible operation.

Syntax

addPossibleOperation(
   oper STRING )
  1. oper is the name of a drag & drop operation.

Usage

Drag & drop actions can be of different kinds; you can do a copy of the dragged object, or move the dragged object from the source to the destination.

The default drag & drop operation is defined by a call to setOperation() method in ON DRAG_START. Use the addPossibleOperation() method to define additional operations that are allowed.

See setOperation() for possible values.