MCPcopy Create free account
hub / github.com/angular/angular / addCase

Method addCase

packages/common/src/directives/ng_plural.ts:60–62  ·  view source on GitHub ↗
(value: string, switchView: SwitchView)

Source from the content-addressed store, hash-verified

58 }
59
60 addCase(value: string, switchView: SwitchView): void {
61 this._caseViews[value] = switchView;
62 }
63
64 private _updateView(switchValue: number): void {
65 this._clearViews();

Callers 1

constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected