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

Method constructor

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

Source from the content-addressed store, hash-verified

1808 @ViewChild(CdkTree) tree!: CdkTree<TestData>;
1809
1810 constructor() {
1811 const dataSource = new FakeDataSource();
1812 const data = dataSource.data;
1813 const child = dataSource.addChild(data[1], false);
1814 dataSource.addChild(child, false);
1815 dataSource.addChild(child, false);
1816
1817 this.dataSource = dataSource;
1818 }
1819}
1820
1821@Component({

Callers

nothing calls this directly

Calls 1

addChildMethod · 0.95

Tested by

no test coverage detected