HashLocationStrategy

Stable Class Class Overview class HashLocationStrategy { constructor(_platformLocation: PlatformLocation, _baseHref?: string) onPopState(fn: LocationChangeListener) : void getBaseHref() : string path(includeHash?: boolean) : string prepareExternalUrl(internal: string) : string pushState(state: any, title: string, path: string, queryParams: string) replaceState(state: any, title: string, path: string, queryParams: string) forward() : void back() : void } Class Descri

HammerGestureConfig

Experimental Class Class Overview class HammerGestureConfig { events : string[] overrides : {[key: string]: Object} buildHammer(element: HTMLElement) : HammerInstance } Class Description Annotations @Injectable() Class Details events : string[] overrides : {[key: string]: Object} buildHammer(element: HTMLElement) : HammerInstance exported from @angular/platform-browser/index, defined in @angular/platform-browser/src/dom/events/hammer_gestures.ts

HAMMER_GESTURE_CONFIG

Experimental Const Variable Export export HAMMER_GESTURE_CONFIG A DI token that you can use to provideHammerGestureConfig to Angular. Use it to configure Hammer gestures. exported from @angular/platform-browser/index defined in @angular/platform-browser/src/dom/events/hammer_gestures.ts

Glossary

TypeScript Brief definitions of the most important words in the Angular 2 vocabulary Angular 2 Glossary Angular 2 has a vocabulary of its own. Most Angular 2 terms are everyday English words with a specific meaning within the Angular system. This glossary lists the most prominent terms and a few less familiar ones that have unusual or unexpected definitions. A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ahead-of-time (AoT) compilation You can compile Angular applications at build-time. By

group()

Experimental Function Class Export export group(steps: AnimationMetadata[]) : AnimationGroupMetadata group is an animation-specific function that is designed to be used inside of Angular2's animation DSL language. If this information is new, please navigate to the component animations metadata page to gain a better understanding of how animations in Angular2 are used. group specifies a list of animation steps that are all run in parallel. Grouped animations are useful when a series of styles

getDebugNode()

Experimental Function Class Export export getDebugNode(nativeNode: any) : DebugNode exported from @angular/core/index defined in @angular/core/src/debug/debug_node.ts

GetTestability

Experimental Interface Interface Overview interface GetTestability { addToWindow(registry: TestabilityRegistry) : void findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean) : Testability } Interface Description Adapter interface for retrieving the Testability service associated for a particular context. Interface Details addToWindow(registry: TestabilityRegistry) : void findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestor

getTestBed()

Experimental Function Class Export export getTestBed() exported from @angular/core/testing/index defined in @angular/core/testing/test_bed.ts

FormsModule

Stable Class Class Overview class FormsModule { } Class Description The ng module for forms. Annotations @NgModule({ declarations: TEMPLATE_DRIVEN_DIRECTIVES, providers: [RadioControlRegistry], exports: [InternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES] }) exported from @angular/forms/index, defined in @angular/forms/src/form_providers.ts

forwardRef()

Experimental Function Class Export export forwardRef(forwardRefFn: ForwardRefFn) : Type<any> Allows to refer to references which are not yet defined. For instance, forwardRef is used when the token which we need to refer to for the purposes of DI is declared, but not yet defined. It is also used when the token which we use when creating a query is not yet defined. Example class Door { lock: Lock; // Door attempts to inject Lock, despite it not being defined yet. // forwardRef ma