Caplin Trader 4.8.0

Class: module:caplin/component/decorator/DropTarget

module:caplin/component/decorator/DropTarget

Constructor

new module:caplin/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:caplin/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.