dropAction([action])
Class: Panel. Method inherited from UIComponent.
Description:
Sets or gets which type of drop action is accepted by the component (e.g., Copy, Move). Setting any action other
than None enables dropping on the component. Action None disables dropping.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
One of enum values: DragDropAction.[None|Copy|Move|CopyOrMove|Link]. |
Returns:
Returns this component if argument is provided, otherwise returns string value as one of the DragDropAction enum values.
Type: string | this
