NgLocaleLocalization
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
// 继承自 common/NgLocalization
abstract getPluralCategory(value: any, locale?: string): string
}
属性
属性 | 说明 |
---|---|
protected locale: string | |
protected deprecatedPluralFn?: ((locale: string, value: number | string) => Plural) | null |