MCPcopy Index your code
hub / github.com/angular/components / _clearPreviousCache

Method _clearPreviousCache

src/cdk/tree/tree.ts:1173–1177  ·  view source on GitHub ↗

Clears the maps we use to store parents, level & aria-sets in.

()

Source from the content-addressed store, hash-verified

1171
1172 /** Clears the maps we use to store parents, level & aria-sets in. */
1173 private _clearPreviousCache() {
1174 this._parents.clear();
1175 this._levels.clear();
1176 this._ariaSets.clear();
1177 }
1178}
1179
1180/**

Callers 2

_computeRenderingDataMethod · 0.95
_calculateParentsMethod · 0.95

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected