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

Method addABunch

src/dev-app/input/input-demo.ts:112–116  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

110 }
111
112 addABunch(n: number) {
113 for (let x = 0; x < n; x++) {
114 this.items.push({value: ++max});
115 }
116 }
117
118 customErrorStateMatcher: ErrorStateMatcher = {
119 isErrorState: (control: FormControl | null) => {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected