angular tree component
This is a fork of @blackbaud/angular-tree-component. Blackbaud has taken on the project from CirclonGroup since it appears that the original project has been abandoned to ensure compatibility with Ivy and newer versions of Angular.
This fork has some customisations for my own project relating to improving performance regards selecting / deselecting branches within trees with a very large numnber of nodes.
Getting started
Install @confusedfish/angular-tree-component
:
npm install @confusedfish/angular-tree-component
Import TreeModule
:
import { TreeModule } from '@confusedfish/angular-tree-component';
@NgModule({
declarations: [AppComponent],
imports: [TreeModule],
bootstrap: [AppComponent]
})
export class AppModule {}
Add css to styles.scss
or include in angular.json
:
@import '@confusedfish/angular-tree-component/css/angular-tree-component.css';
Docs, Demos & More
Support
Angular supported version
angular-tree-component supports angular 14 and above, and AoT compilation.