Skip to content

Commit d106af0

Browse files
committed
docs(samples): fixed drag & drop errow in kanban sample
1 parent 49a8fb4 commit d106af0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/app/interactions/drag-drop/kanban-sample/kanban-sample.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-shadow */
22
/* eslint-disable @typescript-eslint/naming-convention */
3-
import { ChangeDetectorRef, Component, ElementRef, OnInit, Renderer2, ViewChild } from '@angular/core';
3+
import { ChangeDetectorRef, Component, ElementRef, OnInit, Renderer2, viewChild, ViewChild } from '@angular/core';
44
import { IDropBaseEventArgs, IDropDroppedEventArgs } from 'igniteui-angular';
55

66
enum state {
@@ -20,6 +20,9 @@ interface IListItem {
2020
styleUrls: ['./kanban-sample.component.scss']
2121
})
2222
export class KanbanSampleComponent implements OnInit {
23+
@ViewChild('toDo', { read: ElementRef }) public toDo: ElementRef;
24+
@ViewChild('inProgress', { read: ElementRef }) public inProgress: ElementRef;
25+
@ViewChild('done', { read: ElementRef }) public done: ElementRef;
2326
public toDoList: IListItem[];
2427
public inProgressList: IListItem[];
2528
public doneList: IListItem[];

0 commit comments

Comments
 (0)