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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected