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

Method _getExpansionModel

src/cdk/tree/tree.ts:363–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361 }
362
363 _getExpansionModel() {
364 if (!this.treeControl) {
365 this._expansionModel ??= new SelectionModel<K>(true);
366 return this._expansionModel;
367 }
368 return this.treeControl.expansionModel;
369 }
370
371 /** Set up a subscription for the data provided by the data source. */
372 private _subscribeToDataChanges() {

Callers 2

_getRenderDataMethod · 0.95
ngOnInitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected