New to Kendo UI for Angular? Start a free 30-day trial
DropTargetContainerDirective
Represents the Kendo UI DropTargetContainer directive for Angular. Use this directive to make multiple elements drop targets inside a container.
html
<div kendoDropTargetContainer dropTargetFilter=".my-droptarget">
<div class="my-droptarget">
Drop here
</div>
</div>
Selector
[kendoDropTargetContainer]
Export Name
Accessible in templates as #kendoDropTargetContainerInstance="kendoDropTargetContainer"
Inputs
Name | Type | Default | Description |
---|---|---|---|
dropDisabled |
|
Specifies whether the drop targets within the container will emit the corresponding events upon interaction with a drag target. | |
dropTargetFilter |
|
Sets a selector for elements in the container to make them drop targets. See example. |
Events
Name | Type | Description |
---|---|---|
onDragEnter |
|
Fires when a drag target enters a drop target. |
onDragLeave |
|
Fires when a drag target leaves a drop target. |
onDragOver |
|
Fires when a drag target is dragged over a drop target. |
onDrop |
|
Fires when a drag target is dropped over a drop target. |
Methods
notify |
---|
Notifies the |