draging from parent componenet to some child componenet (of multiple same type childs)
i am using (cdkDropListDropped)="drop($event)"
to point :
drop(event: CdkDragDrop<string[]>) {
console.log(event);// how can i get the instance of target component
}
<app-parent>
<div cdkDropList [cdkDropListData]="Data" (cdkDropListDropped)="drop($event)"></div>
<app-child cdkDropList></app-child>
<app-child cdkDropList></app-child>
<app-child cdkDropList></app-child>
</app-parent>
but i cant obtain from event
the target component;