Router

Stable Class What it does Provides the navigation and url manipulation capabilities. See Routes for more details and examples. Class Overview class Router { constructor(rootComponentType: Type<any>, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes) errorHandler : ErrorHandler navigated : boolean config : Routes initialNavigation() : void setUpLocationCh

router

Module Entry point for all public APIs of the router package. ActivatedRoute ActivatedRouteSnapshot CanActivate CanActivateChild CanDeactivate CanLoad Data DefaultUrlSerializer Event ExtraOptions LoadChildren LoadChildrenCallback NavigationCancel NavigationEnd NavigationError NavigationExtras NavigationStart PRIMARY_OUTLET Params Resolve ResolveData Route Router RouterLink RouterLinkActive RouterLinkWithHref RouterModule RouterOutlet RouterOutletMap RouterState RouterStateSnapshot Routes Routes

Route

Stable Interface Interface Overview interface Route { path : string pathMatch : string component : Type<any> redirectTo : string outlet : string canActivate : any[] canActivateChild : any[] canDeactivate : any[] canLoad : any[] data : Data resolve : ResolveData children : Route[] loadChildren : LoadChildren } Interface Description See Routes for more details. Interface Details path : string pathMatch : string component : Type<any> redirectTo : str

RootRenderer

Experimental Class Class Overview class RootRenderer { renderComponent(componentType: RenderComponentType) : Renderer } Class Description Injectable service that provides a low-level interface for modifying the UI. Use this service to bypass Angular's templating and make custom UI changes that can't be expressed declaratively. For example if you need to set a property or an attribute whose name is not statically known, use setElementProperty or setElementAttribute respectively. If you ar

ResponseType

Experimental Enum Class Overview class ResponseType { Basic Cors Default Error Opaque } Class Description Acceptable response types to be associated with a Response, based on ResponseType from the Fetch spec. Class Details Basic Cors Default Error Opaque exported from @angular/http/index, defined in @angular/http/src/enums.ts

ResponseOptionsArgs

Experimental Type-alias Interface Overview interface ResponseOptionsArgs { } Interface Description Interface for options to construct a Response, based on ResponseInit from the Fetch spec. exported from @angular/http/index, defined in @angular/http/src/interfaces.ts

ResponseOptions

Experimental Class Class Overview class ResponseOptions { constructor({body, status, headers, statusText, type, url}?: ResponseOptionsArgs) body : string|Object|ArrayBuffer|Blob status : number headers : Headers url : string merge(options?: ResponseOptionsArgs) : ResponseOptions } Class Description Creates a response options object to be optionally provided when instantiating a Response. This class is based on the ResponseInit description in the Fetch Spec. All values are

ResponseContentType

Experimental Enum Class Overview class ResponseContentType { Text Json ArrayBuffer Blob } Class Description Define which buffer to use to store the response Class Details Text Json ArrayBuffer Blob exported from @angular/http/index, defined in @angular/http/src/enums.ts

Response

Experimental Class Class Overview class Response { constructor(responseOptions: ResponseOptions) type : ResponseType ok : boolean url : string status : number statusText : string bytesLoaded : number totalBytes : number headers : Headers toString() : string } Class Description Creates Response instances from provided values. Though this object isn't usually instantiated by end-users, it is the primary object interacted with when it comes time to add data to a view

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