src/ui/drag-drop/smart-drag-drop-target.directive.ts
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | [smart-drag-drop-target] |
| styles |
cdkDropList {
height: 100%;
width: 100%;
}
,
::ng-deep .cdk-drag-placeholder {
display: none;
}
|
| template | |
Properties |
|
Methods |
Inputs |
Outputs |
Accessors |
constructor(smartDragDropService: SmartDragDropService, changeDetector: ChangeDetectorRef, logger: SmartLoggerService)
|
||||||||||||
|
Parameters :
|
| connectedTo |
Type : SmartDroppableComponent[]
|
| smart-drag-drop-target |
Type : string
|
| smart-receiving-cursor |
Type : string | unknown
|
| onDropped |
Type : EventEmitter<SmartDragDropEvent>
|
| onEntered |
Type : EventEmitter<SmartDragDropEvent>
|
| getReceivingCursor | ||||||
getReceivingCursor(ev: SmartDragDropEvent)
|
||||||
|
Parameters :
Returns :
string
string |
| onDrop | ||||||
onDrop(ev: any)
|
||||||
|
Parameters :
Returns :
void
|
| onEnter | ||||||
onEnter(ev: any)
|
||||||
|
Parameters :
Returns :
void
|
| onExit |
onExit()
|
|
Returns :
void
|
| updateConnectedCdkDropdownLists |
updateConnectedCdkDropdownLists()
|
|
Returns :
void
|
| Optional _receivingCursor |
Type : string
|
| cdkDropList |
Type : CdkDropList
|
Decorators :
@ViewChild(CdkDropList)
|
| Public Readonly changeDetector |
Type : ChangeDetectorRef
|
| connectedCdkDroplists |
Type : CdkDropList[]
|
| connectedTo | ||||||
getconnectedTo()
|
||||||
|
Returns :
SmartDroppableComponent[]
|
||||||
setconnectedTo(value: SmartDroppableComponent[])
|
||||||
|
Parameters :
Returns :
void
|
| isReceiving |
getisReceiving()
|
|
Returns :
boolean
|
cdkDropList {
height: 100%;
width: 100%;
}
::ng-deep .cdk-drag-placeholder {
display: none;
}