dropAction([action])

Class: MenuBar. 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

[action]

DragDropAction

One of enum values: DragDropAction.[None|Copy|Move|CopyOrMove|Link]. None is default.

Returns:

Returns this component if argument is provided, otherwise returns string value as one of the DragDropAction enum values.

Type: string | this