Class: EditableDragAndDrop

Granite.author.ui. EditableDragAndDrop


new EditableDragAndDrop()

Drop Controller that manages d&d of Editables over Overlays

Source:
ui/ui.EditableDragAndDrop.js
See:

Methods


getTypeName()

Returns the type name of the drag origin

Source:
ui/ui.EditableDragAndDrop.js
Returns:
Type
string

handleDrop(event)

Handles the dropped event

Parameters:
Name Type Description
event
Source:
ui/ui.EditableDragAndDrop.js
Fires:

isInsertAllowed(event)

Is it allowed to insert nearby the target Granite.author.Editable

Parameters:
Name Type Description
event
Source:
ui/ui.EditableDragAndDrop.js
Returns:
Type
boolean