new ComponentDragAndDrop()
Drop Controller that manages d&d of Components over Overlays
- Source:
- ui/ui.ComponentDragAndDrop.js
- See:
Methods
-
getTypeName()
-
Returns the type name of the drag origin
- Source:
- ui/ui.ComponentDragAndDrop.js
Returns:
- Type
- string
-
handleDragEnd(event)
-
Handles the drag enf event
Parameters:
Name Type Description event
- Source:
- ui/ui.ComponentDragAndDrop.js
-
handleDragStart(event)
-
Handles the drag start event
Parameters:
Name Type Description event
- Source:
- ui/ui.ComponentDragAndDrop.js
-
handleDrop(event)
-
Handles the drop event
Parameters:
Name Type Description event
- Source:
- ui/ui.ComponentDragAndDrop.js
-
isInsertAllowed(event)
-
Is it allowed to insert nearby the target Granite.author.Editable
Parameters:
Name Type Description event
- Source:
- ui/ui.ComponentDragAndDrop.js
Returns:
- Type
- boolean