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

Method constructor

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

Source from the content-addressed store, hash-verified

1979 cdr = inject(ChangeDetectorRef);
1980
1981 constructor() {
1982 this.dataSource._dataChange.subscribe(() => {
1983 this.cdr.markForCheck();
1984 });
1985 }
1986}
1987
1988@Component({

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected