wtfStartTimeRange

Experimental Const Variable Export export wtfStartTimeRange Used to mark Async start. Async are similar to scope but they don't have to be strictly nested. The return value is used in the call to [endAsync]. Async ranges only work if WTF has been enabled. someMethod() { var s = wtfStartTimeRange('HTTP:GET', 'some.url'); var future = new Future.delay(5).then((_) { wtfEndTimeRange(s); }); } exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

ApplicationRef

Stable Class Class Overview class ApplicationRef { bootstrap(componentFactory: ComponentFactory<C>|Type<C>) : ComponentRef<C> tick() : void componentTypes : Type<any>[] components : ComponentRef<any>[] } Class Description A reference to an Angular application running on a page. For more about Angular applications, see the documentation for bootstrap. Class Details bootstrap(componentFactory: ComponentFactory<C>|Type<C>) : ComponentRef<

RouterStateSnapshot

Stable Interface What it does Represents the state of the router at a moment in time. How to use @Component({templateUrl:'template.html'}) class MyComponent { constructor(router: Router) { const state: RouterState = router.routerState; const snapshot: RouterStateSnapshot = state.snapshot; const root: ActivatedRouteSnapshot = snapshot.root; const child = root.firstChild; const id: Observable<string> = child.params.map(p => p.id); //... } } Interface O

DebugNode

Experimental Class Class Overview class DebugNode { constructor(nativeNode: any, parent: DebugNode, _debugInfo: RenderDebugInfo) nativeNode : any listeners : EventListener[] parent : DebugElement injector : Injector componentInstance : any context : any references : {[key: string]: any} providerTokens : any[] source : string } Class Description Constructor constructor(nativeNode: any, parent: DebugNode, _debugInfo: RenderDebugInfo) Class Details nativeNode : any

AnimationPlayer

Experimental Class Class Overview class AnimationPlayer { onDone(fn: () => void) : void onStart(fn: () => void) : void init() : void hasStarted() : boolean play() : void pause() : void restart() : void finish() : void destroy() : void reset() : void setPosition(p: any) : void getPosition() : number parentPlayer : AnimationPlayer } Class Description Class Details onDone(fn: () => void) : void onStart(fn: () => void) : void init() : void hasStarted(

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

AfterViewInit

Stable Class What it does Lifecycle hook that is called after a component's view has been fully initialized. How to use . @Component({selector: 'my-cmp', template: `...`}) class MyComponent implements AfterViewInit { ngAfterViewInit() { // ... } } Class Overview class AfterViewInit { ngAfterViewInit() : void } Class Description See Lifecycle Hooks Guide. Class Details ngAfterViewInit() : void exported from @angular/core/index, defined in @angular/core/src/metadata/lifecyc

DefaultUrlSerializer

Stable Class What it does A default implementation of the UrlSerializer. Class Overview class DefaultUrlSerializer { parse(url: string) : UrlTree serialize(tree: UrlTree) : string } Class Description Example URLs: /inbox/33(popup:compose) /inbox/33;open=true/messages/44 DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to specify route specific param

platform-server

Module Entry point for all public APIs of the platform-browser-dynamic/testing package. ServerTestingModule platformServerTesting defined in @angular/platform-server/testing/index.ts

platform-browser-dynamic

Module Entry point for all public APIs of the platform-browser-dynamic package. RESOURCE_CACHE_PROVIDER platformBrowserDynamic defined in @angular/platform-browser-dynamic/index.ts