A angular material component to render tabular data, for infomrmaiton about the content of the NPM package see component readme.
This project was generated with Angular CLI version 7.0.3.
The repository consists of two distinct projects:
- ngmat-sorted-table-demo: A demo and test application instantiating a SortedTable component. The app lives in
src/app
. - ngmat-sorted-table: A library implementing the actual npm package. The library lives in
projects/ngmat-sorted-table
-
Run npm run start
for a dev server running the test and demo app. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run npm run build-library
whenever a change has been made to the code in the library. During development this has to be done for the test and demo app to pick upp any changes.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run package
to build the library and create a npm package ready for publishing.
Run npm run test
to execute the demo app unit tests via Karma.
Run npm run test-library
to execute the library unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.