src/connection-types.ts
Represents one drop target and its behaviour, that can listen to the state and connect to a DOM element.
To create one, refer to SkyhookDndService.
Methods |
getHandlerId |
getHandlerId()
|
Returns the drop target ID that can be used to simulate the drag and drop events with the testing backend.
Returns :
any
|
setTypes | ||||||
setTypes(type: TypeOrTypeArray)
|
||||||
Use this method to have a dynamically typed target. If no type has
previously been set, it creates the subscription and allows the
See DragSource for an example of how to set a dynamic type, for it is very similar here.
Parameters :
Returns :
void
|