Skip to content

sutija/angular-2-tree-view

Repository files navigation

angular-2-tree-view

Angular 2 nested array tree view

Usage

Include it in app.module.ts:

import { TreeComponent } from './utils/tree/tree.component';
import { TreePipe } from './utils/tree/tree.pipe';


``` @NgModule({ declarations: [ ... TreeComponent, TreePipe ], ... }) ```

In your component template add:

<app-tree [items]="array_of_items"></app-tree>

:-)

About

Angular 2 nested array tree view

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published