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

Method _getSetSize

src/cdk/tree/tree.ts:1373–1375  ·  view source on GitHub ↗

* Determines the size of this node's parent's child set. * * This is intended to be used for `aria-setsize`.

()

Source from the content-addressed store, hash-verified

1371 * This is intended to be used for `aria-setsize`.
1372 */
1373 _getSetSize(): number {
1374 return this._tree._getSetSize(this._data);
1375 }
1376
1377 /**
1378 * Determines the index (starting from 1) of this node in its parent's child set.

Callers

nothing calls this directly

Calls 1

_getSetSizeMethod · 0.45

Tested by

no test coverage detected