@progress/kendo-angular-treeview
Version:
Kendo UI TreeView for Angular
57 lines (56 loc) • 2.24 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { DataBoundComponent } from './data-bound-component';
import { FilteringBase } from './filtering-base';
import * as i0 from "@angular/core";
/**
* A directive which encapsulates the retrieval of the child nodes.
*/
export declare class FlatDataBindingDirective extends FilteringBase implements OnInit, OnChanges {
protected component: DataBoundComponent;
/**
* The nodes which will be displayed by the TreeView.
*/
set nodes(nodes: any[]);
get nodes(): any[];
protected _nodes: any[];
/**
* Represents the parent field whose value will be matched with the parent node.
*/
parentIdField: string;
/**
* Represents the unique field which identifies a node.
*/
idField: string;
/**
* @hidden
*/
loadOnDemand: boolean;
/**
* @hidden
* A callback which determines whether a TreeView node should be rendered as hidden.
*/
set isVisible(fn: (item: object, index: string) => boolean);
/**
* @hidden
*/
originalData: any[];
constructor(component: DataBoundComponent);
/**
* @hidden
*/
ngOnInit(): void;
/**
* @hidden
*/
ngOnChanges(changes: SimpleChanges): void;
/**
* @hidden
*/
updateNodes(values: any[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FlatDataBindingDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<FlatDataBindingDirective, "[kendoTreeViewFlatDataBinding]", never, { "nodes": { "alias": "nodes"; "required": false; }; "parentIdField": { "alias": "parentIdField"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "loadOnDemand": { "alias": "loadOnDemand"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; }, {}, never, never, true, never>;
}