Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ constructor
Method
constructor
src/material/tree/tree.spec.ts:1013–1017 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1011
@ViewChild(MatTree) tree!: MatTree<TestData>;
1012
1013
constructor() {
1014
this.underlyingDataSource.connect().subscribe(data => {
1015
this.dataSource.data = data;
1016
});
1017
}
1018
}
1019
1020
@Component({
Callers
nothing calls this directly
Calls
1
connect
Method · 0.45
Tested by
no test coverage detected