Namespace: dnd

vef.ui.dnd

A super module that collects available sub-modules.
Source:

Classes

DropTarget
FileDropTarget

Methods

(static) exports.registerDataTransfer(value) → {string}

Register a dataset, generate an ID and store it in a static location to retrieve it later using the ID. This is needed, because complex data types cannot be transferred using a drag/drop event
Parameters:
Name Type Description
value string
Author:
Source:
Returns:
id
Type
string

(static) exports.retrieveDataTransfer(id, keep) → {any}

Get a dataset using its ID and remove it from
Parameters:
Name Type Description
id string
keep boolean
Author:
Source:
Returns:
value
Type
any