dragData(data)

Class: List. Method inherited from UIComponent.

Description:

Sets custom data that should be passed when dragging this component instead of passing component's data, such as text or icon.
Without setting this data a default component data will be dragged, such as text, list item, icon, what what ever applies to this component.

Parameters:

Name Type Description

data

string | Array.<string>

String data or array of strings. For a list of files or URLs use array or separate them by new line character \n.

Returns:

Returns this component.

Type: this