Search results

DroppableModel API in JavaScript (ES5) Base API control

Interface for a class Droppable

Properties

drop | Paramter Name | Type | |------|------| | args | [`DropEventArgs`](./dropEventArgs) |

Specifies the callback function, which will be triggered while drag element is dropped in droppable.

out

Function

Specifies the callback function, which will be triggered while drag element is moved out of droppable element.

over

Function

Specifies the callback function, which will be triggered while drag element is moved over droppable element.

accept

string

Defines the selector for draggable element to be accepted by the droppable.

scope

string

Defines the scope value to group sets of draggable and droppable items. A draggable with the same scope value will only be accepted by the droppable.