feat(i18n): add ngPlural directive

This commit is contained in:
Kara Erickson
2016-03-04 16:32:22 -08:00
committed by Alex Eagle
parent 43bb31c6c6
commit df1f78e302
6 changed files with 315 additions and 3 deletions

View File

@ -760,6 +760,8 @@ const COMMON = [
'NgIf',
'NgIf.constructor(_viewContainer:ViewContainerRef, _templateRef:TemplateRef)',
'NgIf.ngIf=(newCondition:any)',
'NgLocalization',
'NgLocalization.getPluralCategory(value:any):string',
'NgModel',
'NgModel.asyncValidator:AsyncValidatorFn',
'NgModel.constructor(_validators:any[], _asyncValidators:any[], valueAccessors:ControlValueAccessor[])',
@ -771,6 +773,13 @@ const COMMON = [
'NgModel.validator:ValidatorFn',
'NgModel.viewModel:any',
'NgModel.viewToModelUpdate(newValue:any):void',
'NgPlural',
'NgPlural.cases:QueryList<NgPluralCase>',
'NgPlural.constructor(_localization:NgLocalization)',
'NgPlural.ngAfterContentInit():any',
'NgPluralCase.constructor(value:string, template:TemplateRef, viewContainer:ViewContainerRef)',
'NgPlural.ngPlural=(value:number)',
'NgPluralCase',
'NgSelectOption',
'NgStyle',
'NgStyle.constructor(_differs:KeyValueDiffers, _ngEl:ElementRef, _renderer:Renderer)',