NgLocaleLocalization
class
Returns the plural case based on the locale
class NgLocaleLocalization extends NgLocalization {
protected locale: string
protected deprecatedPluralFn?: ((locale: string, value: number | string) => Plural) | null
getPluralCategory(value: any, locale?: string): string
// inherited from common/NgLocalization
abstract getPluralCategory(value: any, locale?: string): string
}
Properties
Property | Description |
---|---|
protected locale: string
|
|
string) => Plural) | null |
Methods
getPluralCategory() | ||||||
---|---|---|---|---|---|---|
getPluralCategory(value: any, locale?: string): stringParameters
Returns
|
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/common/NgLocaleLocalization