Drag and Drop

Adding Drag Drop in your project

There following steps to add Drag Drop

  • First of all, you have to edit in app.modulefile ,which is located in your-project-name\src\app folder.

  • Import following files in app.module file

    import { DragulaDemoComponent}  from './drag-and-drop/dragula/dragula.component';
  • Now open app-routing.module.ts file and import this file.

    import { DragulaDemoComponent }  from './drag-and-drop/dragula/dragula.component';

    After this,add following in routes

    { path: 'dragndrop/dragula', component: DragulaDemoComponent }

Last updated