This is a fork of @circlon/angular-tree-component. Since it appears that the original project has been abandoned, I have decided to take on its development and ensure compatibility with Ivy and newer versions of Angular.
Install angular-tree-component
:
npm install @ali-hm/angular-tree-component
Import TreeModule
:
import { TreeModule } from '@ali-hm/angular-tree-component';
@NgModule({
declarations: [AppComponent],
imports: [TreeModule],
bootstrap: [AppComponent]
})
export class AppModule {}
Add css to styles.scss
or include in angular.json
:
@import '@ali-hm/angular-tree-component/css/angular-tree-component.css';
angular-tree-component supports angular 18 and above, and AoT compilation.
versioning has been change to align with supported Angular version.
so:\
v18.*.* = Angular 18
v17.*.* = Angular 17
v16.*.* = Angular 16
v12.*.* = Angular 14-15