Angular 7

What Is Drag & Drop feature in Angular 7?

Now in Angular 7, CDK us to supports Drag &Drop, which includes these nifty features -Automatic rendering as a user moves items.

To work with Drag & Drop with Handle and Sorting, we need to install the Angular CDK package to import the DragDropModule module.

Install the module using NPM - npm install @angular/cdk@latest

Helper methods for reordering or transferring items in lists and looks like.
1.      moveItemInArray
2.      transferArrayItem

For Drag and Drop options i.e.
1.      Basic Drag and Drop
2.      Drag and Drop with custom Drag Handle
3.      Drag and Drop with Sorting
4.      Transfer items between the lists
5.      Drag and Drop with different Orientation

6.      Locking with axis

For more detail with example, go to this link...


Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..

My Tech Blog -
My Books - Book 1 and Book 2

What Is Drag & Drop feature in Angular 7? What Is Drag & Drop  feature in Angular 7? Reviewed by Anil Singh on 10:08 PM Rating: (5) Powered by Blogger.