diff --git a/packages/angular/src/list/ai-list.component.ts b/packages/angular/src/list/ai-list.component.ts index 2f5376eec6..7e0abe6c85 100644 --- a/packages/angular/src/list/ai-list.component.ts +++ b/packages/angular/src/list/ai-list.component.ts @@ -60,8 +60,11 @@ export enum SelectionType { (droppedAbove)="handleDrop(data.parentItem, data.index)" (droppedBelow)="handleDrop(data.parentItem, data.index + 1)" (droppedNested)="handleDrop(data.item, 0)" + (dragEnterBelow)="handleDragOver($event, data.parentItem)" (dragOverBelow)="handleDragOver($event, data.parentItem)" + (dragEnterAbove)="handleDragOver($event, data.parentItem)" (dragOverAbove)="handleDragOver($event, data.parentItem)" + (dragEnterNested)="handleDragOver($event, data.item)" (dragOverNested)="handleDragOver($event, data.item)" > @@ -28,12 +29,14 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; aiListTarget targetPosition="above" (dropping)="droppedAbove.emit($event)" + (dragEnter)="dragEnterAbove.emit($event)" (dragOver)="dragOverAbove.emit($event)" >
@@ -67,10 +70,16 @@ export class AIListItemWrapperComponent { @Output() dragEnd = new EventEmitter(); + @Output() dragEnterAbove = new EventEmitter(); + @Output() dragOverAbove = new EventEmitter(); + @Output() dragEnterBelow = new EventEmitter(); + @Output() dragOverBelow = new EventEmitter(); + @Output() dragEnterNested = new EventEmitter(); + @Output() dragOverNested = new EventEmitter(); @Output() droppedBelow = new EventEmitter();