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

Method constructor

src/cdk/tree/tree.spec.ts:1547–1554  ·  view source on GitHub ↗
(pizzaTopping: string, pizzaCheese = '', pizzaBase = '', level: number = 1)

Source from the content-addressed store, hash-verified

1545 readonly observableChildren: BehaviorSubject<TestData[]>;
1546
1547 constructor(pizzaTopping: string, pizzaCheese = '', pizzaBase = '', level: number = 1) {
1548 this.pizzaTopping = pizzaTopping;
1549 this.pizzaCheese = pizzaCheese;
1550 this.pizzaBase = pizzaBase;
1551 this.level = level;
1552 this.children = [];
1553 this.observableChildren = new BehaviorSubject<TestData[]>(this.children);
1554 }
1555}
1556
1557class FakeDataSource extends DataSource<TestData> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected