This project takes some clues from the *ngFor directive to implement a list view component that takes in a template for the list items.
- Custom template support for list view items.
- Keyboard navigation.
- Multiselect items using Shift and Meta keys.
- Ability to configure selection options.
- Add support for ngTrackBy.
The demo was generated with angular-cli version 1.0.0-beta.26.
Run npm install
or yarn
to install project dependencies.
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run npm run ng generate component component-name
to generate a new component. You can also use npm run ng generate directive/pipe/service/class/module
.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run npm test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via npm run ng serve
.
Run npm run ng github-pages:deploy
to deploy to GitHub Pages.
To get more help on the angular-cli
use npm run ng help
or go check out the Angular-CLI README.