npm.io
0.0.6 • Published 7 years ago

cdk-drag-scroll

Licence
—
Version
0.0.6
Deps
1
Size
273 kB
Vulns
0
Weekly
0
Stars
31

Cdk Drag Scroll

Demo

https://cdk-drag-scroll-demo.stackblitz.io/

Installation

Install through npm:

npm install --save cdk-drag-scroll

Then use it in your app like so:


<div
  *ngFor="let item of items"
   cdkDrag
   vsDragScroll
   [vsDragScrollContainer]="scrollContainer"
   [cdkDragData]="item">
   ...
</div>

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.