common

Module Entry point for all public APIs of the common package. APP_BASE_HREF AsyncPipe CommonModule CurrencyPipe DatePipe DecimalPipe HashLocationStrategy I18nPluralPipe I18nSelectPipe JsonPipe Location LocationChangeEvent LocationChangeListener LocationStrategy LowerCasePipe NgClass NgFor NgIf NgLocalization NgPlural NgPluralCase NgStyle NgSwitch NgSwitchCase NgSwitchDefault NgTemplateOutlet PathLocationStrategy PercentPipe PlatformLocation SlicePipe UpperCasePipe defined in @angular/common/i

SimpleChange

Stable Class Class Overview class SimpleChange { constructor(previousValue: any, currentValue: any) previousValue : any currentValue : any isFirstChange() : boolean } Class Description Represents a basic change from a previous to a new value. Constructor constructor(previousValue: any, currentValue: any) Class Details previousValue : any currentValue : any isFirstChange() : boolean Check whether the new value is the first value assigned. exported from @angular/core/ind

AnimationStyleMetadata

Experimental Class Class Overview class AnimationStyleMetadata { constructor(styles: Array<string|{[key: string]: string | number}>, offset?: number) styles : Array<string|{[key: string]: string | number}> offset : number } Class Description Metadata representing the entry of animations. Instances of this class are provided via the animation DSL when the style animation function is called. Constructor constructor(styles: Array<string|{[key: string]: string | nu

I18nSelectPipe

Experimental Pipe What it does Generic selector that displays the string that matches the current value. How to use expression | i18nSelect:mapping NgModuleCommonModule Description Where: mapping: is an object that indicates the text that should be displayed for different values of the provided expression. Example @Component( {selector: 'i18n-select-pipe', template: `<div>{{gender | i18nSelect: inviteMap}} </div>`}) export class I18nSelectPipeComponent { gender: str

getModuleFactory()

Experimental Function Class Export export getModuleFactory(id: string) : NgModuleFactory<any> Returns the NgModuleFactory with the given id, if it exists and has been loaded. Factories for modules that do not specify an id cannot be retrieved. Throws if the module cannot be found. exported from @angular/core/index defined in @angular/core/src/linker/ng_module_factory_loader.ts

ResolveData

Stable Type-alias What it does Represents the resolved data associated with a particular route. See Routes for more details. Interface Overview interface ResolveData { } Interface Description exported from @angular/router/index, defined in @angular/router/src/config.ts

ANALYZE_FOR_ENTRY_COMPONENTS

Experimental Const Variable Export export ANALYZE_FOR_ENTRY_COMPONENTS This token can be used to create a virtual provider that will populate the entryComponents fields of components and ng modules based on its useValue. All components that are referenced in the useValue value (either directly or in a nested array or map) will be added to the entryComponents property. Example The following example shows how the router can populate the entryComponents field of an NgModule based on the router

NgControlStatus

Stable Directive Class Overview class NgControlStatus { constructor(cd: NgControl) } Selectors [formControlName] [ngModel] [formControl] Class Description Directive automatically applied to Angular form controls that sets CSS classes based on control status (valid/invalid/dirty/etc). Constructor constructor(cd: NgControl) exported from @angular/forms/index, defined in @angular/forms/src/directives/ng_control_status.ts

RESOURCE_CACHE_PROVIDER

Experimental Const Variable Export export RESOURCE_CACHE_PROVIDER exported from @angular/platform-browser-dynamic/index defined in @angular/platform-browser-dynamic/src/platform-browser-dynamic.ts

ViewEncapsulation

Stable Enum Class Overview class ViewEncapsulation { Emulated Native None } Class Description Defines template and style encapsulation options available for Component's Component. See ViewMetadata. Class Details Emulated Emulate Native scoping of styles by adding an attribute containing surrogate id to the Host Element and pre-processing the style rules provided via ViewMetadata or ViewMetadata, and adding the new Host Element attribute to all selectors. This is the default opti