File

projects/angular/components/ui-tree-select/src/models/tree.models.ts

Index

Properties

Properties

data
data: T
Type : T
Optional
key
key: string
Type : string
name
name: string
Type : string
interface IBaseNode<T = any> {
    key: string;
    name: string;
    data?: T;
}

export interface ITreeNode<T = any> extends IBaseNode<T> {
    children?: ITreeNode<T>[];
}

export interface IFlatNodeObject<T = any> extends IBaseNode<T> {
    hasChildren: boolean;
    level: number;
}

results matching ""

    No results matching ""