@igor2017/tree-angular-component
TypeScript icon, indicating that this package has built-in type declarations

6.0.3 • Public • Published

TreeAngularComponent

What is this component for?

Allows you to use tree-component in Angular apps. I consider this component the best tree for Angular at the moment.

🎬 Usage

Installation:

npm i @igor2017/tree-angular-component

the "tree-component" package will be installed automatically

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { TreeModule } from 'tree-angular-component';

import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    TreeModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
<tree [data]="data"
    (toggle)="toggle($event)"
    (change)="change($event)">
</tree>

Documentation and usage examples here: https://github.com/plantain-00/tree-component.

Readme

Keywords

none

Package Sidebar

Install

npm i @igor2017/tree-angular-component

Weekly Downloads

0

Version

6.0.3

License

MIT

Unpacked Size

106 kB

Total Files

11

Last publish

Collaborators

  • igor2017