DebugElement

Experimental Class Class Overview class DebugElement { constructor(nativeNode: any, parent: any, _debugInfo: RenderDebugInfo) name : string properties : {[key: string]: any} attributes : {[key: string]: string} classes : {[key: string]: boolean} styles : {[key: string]: string} childNodes : DebugNode[] nativeElement : any addChild(child: DebugNode) removeChild(child: DebugNode) insertChildrenAfter(child: DebugNode, newChildren: DebugNode[]) query(predicate: Pred

createPlatformFactory()

Experimental Function Class Export export createPlatformFactory(parentPlaformFactory: (extraProviders?: Provider[]) => PlatformRef, name: string, providers?: Provider[]) : (extraProviders?: Provider[]) => PlatformRef Creates a factory for a platform exported from @angular/core/index defined in @angular/core/src/application_ref.ts

ErrorHandler

Stable Class Class Overview class ErrorHandler { constructor(rethrowError?: boolean) handleError(error: any) : void } Class Description Provides a hook for centralized exception handling. The default implementation of ErrorHandler prints error messages to the Console. To intercept error handling, write a custom exception handler that replaces this default as appropriate for your app. Example class MyErrorHandler implements ErrorHandler { call(error, stackTrace = null, reason =

RouterLinkWithHref

Stable Directive What it does Lets you link to specific parts of your app. See RouterLink for more information. Class Overview class RouterLinkWithHref { constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy) target : string queryParams : {[k: string]: any} fragment : string routerLinkOptions : {preserveQueryParams: boolean, preserveFragment: boolean} preserveQueryParams : boolean preserveFragment : boolean href : string routerLink

Connection

Experimental Class Class Overview class Connection { readyState : ReadyState request : Request response : any } Class Description Abstract class from which real connections are derived. Class Details readyState : ReadyState request : Request response : any exported from @angular/http/index, defined in @angular/http/src/interfaces.ts

NavigationEnd

Stable Class What it does Represents an event triggered when a navigation ends successfully. Class Overview class NavigationEnd { constructor(id: number, url: string, urlAfterRedirects: string) id : number url : string urlAfterRedirects : string toString() : string } Class Description Constructor constructor(id: number, url: string, urlAfterRedirects: string) Class Details id : number url : string urlAfterRedirects : string toString() : string exported from @angular

NavigationStart

Stable Class What it does Represents an event triggered when a navigation starts. Class Overview class NavigationStart { constructor(id: number, url: string) id : number url : string toString() : string } Class Description Constructor constructor(id: number, url: string) Class Details id : number url : string toString() : string exported from @angular/router/index, defined in @angular/router/src/router.ts

NavigationError

Stable Class What it does Represents an event triggered when a navigation fails due to an unexpected error. Class Overview class NavigationError { constructor(id: number, url: string, error: any) id : number url : string error : any toString() : string } Class Description Constructor constructor(id: number, url: string, error: any) Class Details id : number url : string error : any toString() : string exported from @angular/router/index, defined in @angular/router/s

Form

Stable Interface Interface Overview interface Form { addControl(dir: NgControl) : void removeControl(dir: NgControl) : void getControl(dir: NgControl) : FormControl addFormGroup(dir: AbstractFormGroupDirective) : void removeFormGroup(dir: AbstractFormGroupDirective) : void getFormGroup(dir: AbstractFormGroupDirective) : FormGroup updateModel(dir: NgControl, value: any) : void } Interface Description An interface that FormGroupDirective and NgForm implement. Only used by the f

ComponentRef

Stable Class Class Overview class ComponentRef { C location : ElementRef injector : Injector instance : C hostView : ViewRef changeDetectorRef : ChangeDetectorRef componentType : Type<any> destroy() : void onDestroy(callback: Function) : void } Class Description Represents an instance of a Component created via a ComponentFactory. ComponentRef provides access to the Component Instance as well other objects related to this Component Instance and allows you to destro