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

Method constructor

src/cdk/tree/tree-with-tree-control.spec.ts:1294–1299  ·  view source on GitHub ↗
(public treeControl: TreeControl<TestData>)

Source from the content-addressed store, hash-verified

1292 }
1293
1294 constructor(public treeControl: TreeControl<TestData>) {
1295 super();
1296 for (let i = 0; i < 3; i++) {
1297 this.addData();
1298 }
1299 }
1300
1301 connect(collectionViewer: CollectionViewer): Observable<TestData[]> {
1302 this.isConnected = true;

Callers

nothing calls this directly

Calls 1

addDataMethod · 0.95

Tested by

no test coverage detected