This repository holds the TypeScript source code for an Angular 2 checkbox tree.
The checkbox tree is based on the open source PrimeNG tree component.
The tree supports partial selection when only some children are selected.
You can use PrimeNG tree attributes to customize the tree look and feel.
A working demo can be viewed here: https://amirch1.github.io/Angular2-Checkbox-Tree/
Node.js and npm are essential to Angular development.
Get it now if it's not already installed on your machine.Verify that you are running at least node v4.x.x
and npm 3.x.x
by running node -v
and npm -v
in a terminal/console window.
Older versions produce errors.
Install the npm packages described in the package.json
and verify that it works:
Attention Windows Developers: You must run all of these commands in administrator mode.
npm install
npm start
If the
typings
folder doesn't show up afternpm install
please install them manually with:
npm run typings -- install
The npm start
command first compiles the application,
then simultaneously re-compiles and runs the lite-server
.
Both the compiler and the server watch for file changes.
Shut it down manually with Ctrl-C.
##License The code is distributed under the MIT License (MIT).