Class TreeComponent<Data>

Type Parameters

  • Data extends WithIdentifier & WithChildren = any

Implements

  • OnInit
  • AfterContentInit

Constructors

  • Type Parameters

    • Data extends unknown = any

    Parameters

    • viewContainerRef: ViewContainerRef
    • cdr: ChangeDetectorRef
    • contentEditableMethod: null | Method<any, null | string>
    • renderer: Renderer2
    • elementRef: ElementRef<HTMLElement>
    • searchForm: null | SearchForm<unknown>

    Returns TreeComponent<Data>

Properties

contentEditableMethod?: null | Method<any, null | string>
dataSource: TreeDataSource<Data>
details: EventEmitter<any> = ...
dividerOffset: string = '256px'
getIcon?: NodeGetIconFunction<any>
getStyle?: NodeGetStyleFunction<any>
getType?: NodeGetTypeFunction<any>
hasDetails?: NodeHasDetailsFunction<any>
hideLeafIcon: boolean = false
id?: string
multiple: boolean = false
portal: null | TemplatePortal<any> = null
searchForm: null | SearchForm<unknown>
showTreeNavigation: WritableSignal<boolean> = ...
toDisplay?: NodeToDisplayFunction<any>
treeContainer: ElementRef
treeControl: FlatTreeControl<Node<Data, any>>

Accessors

Methods

  • A callback method that is invoked immediately after Angular has completed initialization of all of the directive's content. It is invoked only once when the directive is instantiated.

    Returns void

  • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

    Returns void