-
-
-
-
-
-
+
-
-
-
+ [class.clr-form-control-disabled]="disabled"
+ [attr.aria-disabled]="disabled"
+ [attr.aria-expanded]="isExpandable() ? expanded : null"
+ [attr.aria-selected]="ariaSelected"
+ (keydown)="onKeyDown($event)"
+ (focus)="broadcastFocusOnContainer()"
+ [style.marginLeft.rem]="distanceFromRoot"
+ >
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
selected
-
unselected
+
+
+
+ selected
+ unselected
+
+
+ ({{distanceFromRoot}} {{positionInTree}})
-
-
-
+
-->
+
diff --git a/projects/angular/src/data/tree-view/tree-node.ts b/projects/angular/src/data/tree-view/tree-node.ts
index aae634067d..6b71d95b87 100644
--- a/projects/angular/src/data/tree-view/tree-node.ts
+++ b/projects/angular/src/data/tree-view/tree-node.ts
@@ -6,6 +6,7 @@
*/
import { animate, state, style, transition, trigger } from '@angular/animations';
+import { DomPortal } from '@angular/cdk/portal';
import { isPlatformBrowser } from '@angular/common';
import {
AfterContentInit,
@@ -38,6 +39,7 @@ import { LoadingListener } from '../../utils/loading/loading-listener';
import { DeclarativeTreeNodeModel } from './models/declarative-tree-node.model';
import { ClrSelectedState } from './models/selected-state.enum';
import { TreeNodeModel } from './models/tree-node.model';
+import { ClrTree } from './tree';
import { TREE_FEATURES_PROVIDER, TreeFeaturesService } from './tree-features.service';
import { TreeFocusManagerService } from './tree-focus-manager.service';
import { ClrTreeNodeLink } from './tree-node-link';
@@ -78,13 +80,14 @@ export class ClrTreeNode