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

Method constructor

src/material/tree/tree.spec.ts:675–688  ·  view source on GitHub ↗
(
    pizzaTopping: string,
    pizzaCheese: string,
    pizzaBase: string,
    children: TestData[] = [],
    isSpecial: boolean = false,
  )

Source from the content-addressed store, hash-verified

673 isDisabled?: boolean;
674
675 constructor(
676 pizzaTopping: string,
677 pizzaCheese: string,
678 pizzaBase: string,
679 children: TestData[] = [],
680 isSpecial: boolean = false,
681 ) {
682 this.pizzaTopping = pizzaTopping;
683 this.pizzaCheese = pizzaCheese;
684 this.pizzaBase = pizzaBase;
685 this.isSpecial = isSpecial;
686 this.children = children;
687 this.observableChildren = new BehaviorSubject<TestData[]>(this.children);
688 }
689}
690
691class FakeDataSource {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected