ali-hm / angular-tree-component

A simple yet powerful tree component for Angular (>=18)
https://angular2-tree.readme.io/docs
MIT License
30 stars 9 forks source link

angular tree component

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.

Getting started

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';

Docs, Demos & More

Support

Angular supported version

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

Contributing