File

src/ui/drag-drop/smart-drag-drop-target.directive.ts

Implements

OnDestroy AfterViewInit

Metadata

Index

Properties
Methods
Inputs
Outputs
Accessors

Constructor

constructor(smartDragDropService: SmartDragDropService, changeDetector: ChangeDetectorRef, logger: SmartLoggerService)
Parameters :
Name Type Optional
smartDragDropService SmartDragDropService No
changeDetector ChangeDetectorRef No
logger SmartLoggerService No

Inputs

connectedTo
Type : SmartDroppableComponent[]
smart-drag-drop-target
Type : string
smart-receiving-cursor
Type : string | unknown

Outputs

onDropped
Type : EventEmitter<SmartDragDropEvent>
onEntered
Type : EventEmitter<SmartDragDropEvent>

Methods

getReceivingCursor
getReceivingCursor(ev: SmartDragDropEvent)
Parameters :
Name Type Optional
ev SmartDragDropEvent No
Returns : string

string

onDrop
onDrop(ev: any)
Parameters :
Name Type Optional
ev any No
Returns : void
onEnter
onEnter(ev: any)
Parameters :
Name Type Optional
ev any No
Returns : void
onExit
onExit()
Returns : void
updateConnectedCdkDropdownLists
updateConnectedCdkDropdownLists()
Returns : void

Properties

Optional _receivingCursor
Type : string
cdkDropList
Type : CdkDropList
Decorators :
@ViewChild(CdkDropList)
Public Readonly changeDetector
Type : ChangeDetectorRef
connectedCdkDroplists
Type : CdkDropList[]

Accessors

connectedTo
getconnectedTo()
setconnectedTo(value: SmartDroppableComponent[])
Parameters :
Name Type Optional
value SmartDroppableComponent[] No
Returns : void
isReceiving
getisReceiving()
Returns : boolean

			cdkDropList {
				height: 100%;
				width: 100%;
			}
		

			::ng-deep .cdk-drag-placeholder {
				display: none;
			}
		
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""