Interface UmbTreeItemContext<TreeItemType>

interface UmbTreeItemContext<TreeItemType> {
    childItems: Observable<TreeItemType[]>;
    entityType?: string;
    hasActions: Observable<boolean>;
    hasChildren: Observable<boolean>;
    isActive: Observable<boolean>;
    isLoading: Observable<boolean>;
    isSelectable: Observable<boolean>;
    isSelectableContext: Observable<boolean>;
    isSelected: Observable<boolean>;
    pagination: UmbPaginationManager;
    path: Observable<string>;
    treeItem: Observable<undefined | TreeItemType>;
    unique?: null | string;
    constructPath(pathname: string, entityType: string, unique: string): string;
    deselect(): void;
    destroy(): void;
    loadChildren(): void;
    select(): void;
    setTreeItem(treeItem: undefined | TreeItemType): void;
    toggleContextMenu(): void;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

childItems: Observable<TreeItemType[]>
entityType?: string
hasActions: Observable<boolean>
hasChildren: Observable<boolean>
isActive: Observable<boolean>
isLoading: Observable<boolean>
isSelectable: Observable<boolean>
isSelectableContext: Observable<boolean>
isSelected: Observable<boolean>
path: Observable<string>
treeItem: Observable<undefined | TreeItemType>
unique?: null | string

Methods

""