• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

DropTargetContainerDirective

Represents the Kendo UI DropTargetContainer directive for Angular. Used to configure multiple elements as drop targets.

<div kendoDropTargetContainer dropTargetFilter=".my-droptarget">
   <div class="my-droptarget">foo</div>
</div>

Selector

[kendoDropTargetContainer]

Export Name

Accessible in templates as #kendoDropTargetContainerInstance="kendoDropTargetContainer"

Inputs

NameTypeDefaultDescription

dropDisabled

boolean

Specifies whether the Drop Targets within the container will emit the corresponding events upon interaction with a Drag Target.

dropTargetFilter

string

Specifies a selector for elements within a container which will be configured as drop targets (see example). The possible values include any DOM selector.

Events

NameTypeDescription

onDragEnter

EventEmitter<DropTargetEvent>

Fires when a DragTarget element enters the DropTarget.

onDragLeave

EventEmitter<DropTargetEvent>

Fires when a DragTarget element leaves the DropTarget.

onDragOver

EventEmitter<DropTargetEvent>

Fires when a DragTarget element is being dragged over the DropTarget.

onDrop

EventEmitter<DropTargetEvent>

Fires when a DragTarget element is dropped over the DropTarget.

Methods

notify

Used for notifying the DropTargetContainer that its content has changed.

In this article

Not finding the help you need?