Home

Awesome

ngx-drag-resize

The project contains Angular library ngx-drag-resize that provides opportunity to use drag and resize functionality on HTML element

CircleCI

NPM Version

Getting Started

Structure

Repository contains two projects

Development

Run npm run start:lib for a build library. The library will automatically rebuild if you change any of the source files from ngx-drag-resize.

Run npm run start:demo for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files from ngx-drag-resize-demo.

It is necessary to run npm run start:lib before npm run start:demo to ensure that library has already built before the demo application will run.

Running unit tests

Run npm run test:lib to execute the unit tests via Karma for the library.

Run npm run test:demo to execute the unit tests via Karma for the demo application.

Build

Run npm run build:lib:prod to make a production build of the library. The build artifacts will be stored in the dist/ngx-drag-resize directory.

Run npm run build:demo:prod to make a production build of the demo application. The build artifacts will be stored in the dist/ngx-drag-resize-demo directory.

Documentation

Run npm run docs:lib to build the documentation for the library. The build artifacts will be stored in the docs directory.

Contributing

Contributing guideline