NG_ASYNC_VALIDATORS

Stable Const Variable Export export NG_ASYNC_VALIDATORS Providers for asynchronous validators to be used for FormControls in a form. Provide this using multi: true to add validators. See NG_VALIDATORS for more details. exported from @angular/forms/index defined in @angular/forms/src/validators.ts

NG_VALIDATORS

Stable Const Variable Export export NG_VALIDATORS Providers for validators to be used for FormControls in a form. Provide this using multi: true to add validators. Example BAD FILENAME: ../../../../../_fragments/_api/core/forms/ts/ng_validators/ng_validators-ng_validators.ts.md Current path: docs,ts,latest,api,forms,index,NG_VALIDATORS-let PathToDocs: ../../../../../ exported from @angular/forms/index defined in @angular/forms/src/validators.ts

NG_VALUE_ACCESSOR

Stable Const Variable Export export NG_VALUE_ACCESSOR Used to provide a ControlValueAccessor for form controls. See DefaultValueAccessor for how to implement one. exported from @angular/forms/index defined in @angular/forms/src/directives/control_value_accessor.ts

NgZone

Experimental Class Class Overview class NgZone { staticisInAngularZone() : boolean staticassertInAngularZone() : void staticassertNotInAngularZone() : void constructor({enableLongStackTrace = false}: any) onUnstable : EventEmitter<any> onMicrotaskEmpty : EventEmitter<any> onStable : EventEmitter<any> onError : EventEmitter<any> isStable : boolean hasPendingMicrotasks : boolean hasPendingMacrotasks : boolean run(fn: () => any) : any r

NgTemplateOutlet

Experimental Directive What it does Inserts an embedded view from a prepared TemplateRef How to use <template [ngTemplateOutlet]="templateRefExpression" [ngOutletContext]="objectExpression"> </template> Class Overview class NgTemplateOutlet { constructor(_viewContainerRef: ViewContainerRef) ngOutletContext ngTemplateOutlet ngOnChanges() } Selectors [ngTemplateOutlet] Class Description You can attach a context object to the EmbeddedViewRef by set

NgSwitchDefault

Stable Directive What it does Creates a view that is added to the parent NgSwitch when no case expressions match the switch expression. How to use <container-element [ngSwitch]="switch_expression"> <some-element *ngSwitchCase="match_expression_1">...</some-element> <some-other-element *ngSwitchDefault>...</some-other-element> </container-element> Class Overview class NgSwitchDefault { constructor(viewContainer: ViewContainerRef, templateRef: Tem

NgModuleRef

Stable Class Class Overview class NgModuleRef { injector : Injector componentFactoryResolver : ComponentFactoryResolver instance : T destroy() : void onDestroy(callback: () => void) : void } Class Description Represents an instance of an NgModule created via a NgModuleFactory. NgModuleRef provides access to the NgModule Instance as well other objects related to this NgModule Instance. Class Details injector : Injector The injector that contains all of the providers of the Ng

NgSelectOption

Stable Directive Class Overview class NgSelectOption { constructor(_element: ElementRef, _renderer: Renderer, _select: SelectControlValueAccessor) id : string ngValue value ngOnDestroy() } Selectors option Class Description Marks <option> as dynamic, so Angular can be notified when options change. Example <select name="city" ngModel> <option *ngFor="let c of cities" [value]="c"></option> </select> Constructor constructor(_element: Elem

NgPluralCase

Experimental Directive What it does Creates a view that will be added/removed from the parent NgPlural when the given expression matches the plural expression according to CLDR rules. How to use <some-element [ngPlural]="value"> <ng-container *ngPluralCase="'=0'">...</ng-container> <ng-container *ngPluralCase="'other'">...</ng-container> </some-element> See NgPlural for more details and example. Class Overview class NgPluralCase { constructor(va

NgProbeToken

Experimental Class Class Overview class NgProbeToken { constructor(name: string, token: any) } Class Description Constructor constructor(name: string, token: any) exported from @angular/platform-browser/index, defined in @angular/platform-browser/src/dom/debug/ng_probe.ts