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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

addChildMethod · 0.95

Tested by

no test coverage detected