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

Method constructor

src/cdk/tree/tree-with-tree-control.spec.ts:1272–1279  ·  view source on GitHub ↗
(pizzaTopping: string, pizzaCheese: string, pizzaBase: string, level: number = 1)

Source from the content-addressed store, hash-verified

1270 readonly observableChildren: BehaviorSubject<TestData[]>;
1271
1272 constructor(pizzaTopping: string, pizzaCheese: string, pizzaBase: string, level: number = 1) {
1273 this.pizzaTopping = pizzaTopping;
1274 this.pizzaCheese = pizzaCheese;
1275 this.pizzaBase = pizzaBase;
1276 this.level = level;
1277 this.children = [];
1278 this.observableChildren = new BehaviorSubject<TestData[]>(this.children);
1279 }
1280}
1281
1282class FakeDataSource extends DataSource<TestData> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected