Skip to content

Tree

@xngui/components/tree
@xngui/components/tree

Expand/collapse model and visible-node flatten.

Preview

Expanded: src, app
Selected:
Checked:

import { Component } from '@angular/core';
import { XTree, XTreeNode } from '@xngui/components/tree';
 
@Component({
selector: 'app-example',
imports: [XTree, XTreeNode],
templateUrl: './tree.component.html',
})
export class ExampleComponent {}

Events

Interact with the preview — events will appear here.