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

Method constructor

src/material/tree/tree.spec.ts:971–975  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

969 @ViewChild(MatTree) tree!: MatTree<TestData>;
970
971 constructor() {
972 this.underlyingDataSource.connect().subscribe(data => {
973 this.dataSource.data = data;
974 });
975 }
976}
977
978@Component({

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected