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

Method ngPlural

packages/common/src/directives/ng_plural.ts:56–58  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

54
55 @Input()
56 set ngPlural(value: number) {
57 this._updateView(value);
58 }
59
60 addCase(value: string, switchView: SwitchView): void {
61 this._caseViews[value] = switchView;

Callers

nothing calls this directly

Calls 1

_updateViewMethod · 0.95

Tested by

no test coverage detected