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

Method constructor

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

Source from the content-addressed store, hash-verified

1823 @ViewChild(CdkTree) tree!: CdkTree<TestData>;
1824
1825 constructor() {
1826 const dataSource = new FakeDataSource();
1827 const data = dataSource.data;
1828 const child = dataSource.addChild(data[1], false);
1829 dataSource.addChild(child, false);
1830 dataSource.addChild(child, false);
1831
1832 this.dataSource = dataSource;
1833 }
1834}
1835
1836@Component({

Callers

nothing calls this directly

Calls 1

addChildMethod · 0.95

Tested by

no test coverage detected