UNPKG

@progress/kendo-angular-dropdowns

Version:

A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree

39 lines (38 loc) 1.7 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { OnChanges, SimpleChanges } from '@angular/core'; import { DataBoundComponent, FlatDataBindingDirective } from '@progress/kendo-angular-treeview'; import * as i0 from "@angular/core"; /** * Retrieves child nodes when the provided data is flat. * * @example * ```html * <kendo-dropdowntree kendoDropDownTreeFlatBinding [nodes]="data" [valueField]="'id'"></kendo-dropdowntree> * ``` * * @remarks * Applied to: {@link DropDownTreeComponent}. */ export declare class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective implements OnChanges { private dropDownTree; /** * Sets the nodes to display in the DropDownTree. */ set nodes(nodes: any[]); get nodes(): any[]; /** * Sets the unique field that identifies a node. */ idField: string; /** * @hidden */ set filter(term: string); constructor(dropDownTree: DataBoundComponent); ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<DropDownTreeFlatBindingDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownTreeFlatBindingDirective, "[kendoDropDownTreeFlatBinding]", never, { "nodes": { "alias": "kendoDropDownTreeFlatBinding"; "required": false; }; "idField": { "alias": "valueField"; "required": false; }; }, {}, never, never, true, never>; }