Caplin Trader 5.1.0

Class: module:ct-component/decorator/DropTarget

module:ct-component/decorator/DropTarget()

new module:ct-component/decorator/DropTarget()

A mix-in that provides both setDropTarget and disposeDropTarget methods to the implementing class.

Methods

disposeDropTarget()

Disposes the drop target

setDropTarget(component, config)

Sets the drop target

Parameters:
Name Type Description
component module:ct-component/Component

The component to be set as a drop target

config Object

The drop decorator configuration object

Properties
Name Type Description
ddGroup String

The logical name for the group of instruments that are accepted by the component.