Module: alfresco/dnd/DragAndDropItem

alfresco/dnd/DragAndDropItem

Author:
  • Dave Draper
License:
Source:

Mixes In

Members

cssRequirements :Array

An array of the CSS files to use with this widget.
Type:
  • Array
Source:

dragWithHandles :boolean

Type:
  • boolean
Default Value:
  • false
Source:

templateString :String

The HTML template to use for the widget.
Type:
  • String
Source:

Methods

onKeyPress(evt)

Handles key presses when the drop target has focus. If the key pressed is the ENTER key then a request will be published to request an item to insert. This is expected to be the currently selected item in a DragAndDropItems widget.
Parameters:
Name Type Description
evt object The keypress event
Source: