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

Method constructor

src/cdk/tree/tree.spec.ts:2244–2250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2242 dataSource: MinimalTestData[];
2243
2244 constructor() {
2245 const children = [new MinimalTestData('child')];
2246 const data = [new MinimalTestData('parent')];
2247 data[0].children = children;
2248
2249 this.dataSource = data;
2250 }
2251}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected