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

Method constructor

src/cdk/table/table.spec.ts:2141–2146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2139 _dataChange = new BehaviorSubject<TestData[]>([]);
2140
2141 constructor() {
2142 super();
2143 for (let i = 0; i < 3; i++) {
2144 this.addData();
2145 }
2146 }
2147
2148 connect(collectionViewer: CollectionViewer) {
2149 this.isConnected = true;

Callers

nothing calls this directly

Calls 1

addDataMethod · 0.95

Tested by

no test coverage detected