Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ data
Method
data
src/material/table/table.spec.ts:620–622 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
618
class
FakeDataSource extends DataSource<TestData> {
619
_dataChange =
new
BehaviorSubject<TestData[]>([]);
620
get data() {
621
return
this._dataChange.getValue();
622
}
623
set data(data: TestData[]) {
624
this._dataChange.next(data);
625
}
Callers
nothing calls this directly
Calls
2
getValue
Method · 0.45
next
Method · 0.45
Tested by
no test coverage detected