new (require("bajaux/dragdrop/StringEnvelope"))(arr)
- Description:
Envelope for simply transferring an array of strings.
- Source:
Extends:
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array.<String> | the strings contained in this envelope. (Any |
Extends
Methods
getMimeType() → {string}
- Source:
- Overrides:
Returns:
niagara/strings
- Type
- string
toJson() → {Promise}
- Description:
The strings contained in the envelope (for simple strings, the JSON
and values are the same).
- Source:
- Overrides:
Returns:
promise to be resolved with an array of strings
- Type
- Promise
toValues() → {Promise}
- Description:
The strings contained in the envelope (for simple strings, the JSON
and values are the same).
- Source:
- Overrides:
Returns:
promise to be resolved with an array of strings
- Type
- Promise