MCPcopy Create free account
hub / github.com/angular/components / _getPositionInSet

Method _getPositionInSet

src/cdk/tree/tree.ts:1382–1384  ·  view source on GitHub ↗

* Determines the index (starting from 1) of this node in its parent's child set. * * This is intended to be used for `aria-posinset`.

()

Source from the content-addressed store, hash-verified

1380 * This is intended to be used for `aria-posinset`.
1381 */
1382 _getPositionInSet(): number {
1383 return this._tree._getPositionInSet(this._data);
1384 }
1385
1386 private _changeDetectorRef = inject(ChangeDetectorRef);
1387

Callers

nothing calls this directly

Calls 1

_getPositionInSetMethod · 0.45

Tested by

no test coverage detected