W3cubDocs

/Angular 4 TypeScript

NgLocaleLocalization

Experimental Class

Class Overview

class NgLocaleLocalization extends NgLocalization {
  constructor(locale: string)
  
  
  locale : string
  getPluralCategory(value: any) : string
}

Class Description

Returns the plural case based on the locale

Annotations

@Injectable()

Constructor

constructor(locale: string)

Class Details

locale : string
getPluralCategory(value: any) : string

exported from common/index, defined in common/src/localization.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/common/index/NgLocaleLocalization-class.html