Skip to content

cactusoft-ca/cdk-drag-scroll

 
 

Repository files navigation

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.

To publish npm package

  • The version in the package.json in the project folder must be incremented

  • On github, in Settings -> Developer settings -> Personal Access Tokens. Generate a new token with the privileges to write:packages.

  • Run command with your username, token and email.

npm login --scope=@cactusoft-ca --registry=https://npm.pkg.github.com

In the ./projects/cdk-drag-scroll folder, run

ng build cdk-drag-scroll --configuration production

Finally, run from the dist/

npm publish

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 76.8%
  • JavaScript 9.0%
  • SCSS 5.2%
  • HTML 5.1%
  • CSS 3.9%