We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d48ab3 commit 4d0fc19Copy full SHA for 4d0fc19
src/cdk/tree/tree.ts
@@ -603,6 +603,7 @@ export class CdkTree<T, K = T>
603
604
// Node context that will be provided to created embedded view
605
const context = new CdkTreeNodeOutletContext<T>(nodeData);
606
+ context.index = index;
607
608
parentData ??= this._parents.get(key) ?? undefined;
609
// If the tree is flat tree, then use the `getLevel` function in flat tree control
0 commit comments