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

Method connect

src/cdk/tree/tree.spec.ts:1565–1573  ·  view source on GitHub ↗
(collectionViewer: CollectionViewer)

Source from the content-addressed store, hash-verified

1563 }
1564
1565 connect(collectionViewer: CollectionViewer): Observable<TestData[]> {
1566 this.isConnected = true;
1567
1568 return combineLatest([this._dataChange, collectionViewer.viewChange]).pipe(
1569 map(([data]) => {
1570 return data;
1571 }),
1572 );
1573 }
1574
1575 disconnect() {
1576 this.isConnected = false;

Callers 2

_changeDataSourceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected