A super module that collects available sub-modules.
- Source:
Classes
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 |
- 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 |
- Source:
Returns:
value
- Type
- any