Http

Experimental Class Class Overview class Http { constructor(_backend: ConnectionBackend, _defaultOptions: RequestOptions) request(url: string|Request, options?: RequestOptionsArgs) : Observable<Response> get(url: string, options?: RequestOptionsArgs) : Observable<Response> post(url: string, body: any, options?: RequestOptionsArgs) : Observable<Response> put(url: string, body: any, options?: RequestOptionsArgs) : Observable<Response> delete(url: string

ControlValueAccessor

Stable Interface Interface Overview interface ControlValueAccessor { writeValue(obj: any) : void registerOnChange(fn: any) : void registerOnTouched(fn: any) : void setDisabledState(isDisabled: boolean) : void } Interface Description A bridge between a control and a native element. A ControlValueAccessor abstracts the operations of writing a new value to a DOM element representing an input control. Please see DefaultValueAccessor for more information. Interface Details writeValue(

DOCUMENT

Stable Const Variable Export export DOCUMENT A DI Token representing the main rendering context. In a browser this is the DOM Document. Note: Document might not be available in the Application Context when Application and Rendering Contexts are not the same (e.g. when running the application into a Web Worker). exported from @angular/platform-browser/index defined in @angular/platform-browser/src/dom/dom_tokens.ts

DomSanitizer

Stable Security Risk Class Security Risk Calling any of the bypassSecurityTrust... APIs disables Angular's built-in sanitization for the value passed in. Carefully check and audit all values and code paths going into this call. Make sure any user data is appropriately escaped for this security context. For more detail, see the Security Guide. Class Overview class DomSanitizer { sanitize(context: SecurityContext, value: any) : string bypassSecurityTrustHtml(value: string) : SafeHtml

ApplicationModule

Experimental Class Class Overview class ApplicationModule { } Class Description This module includes the providers of @angular/core that are needed to bootstrap components via ApplicationRef. Annotations @NgModule({ providers: [ ApplicationRef_, {provide: ApplicationRef, useExisting: ApplicationRef_}, ApplicationInitStatus, Compiler, APP_ID_RANDOM_PROVIDER, ViewUtils, {provide: IterableDiffers, useFactory: _iterableDiffersFactory}, {provide: KeyValueDiff

TestModuleMetadata

Experimental Type-alias Interface Overview interface TestModuleMetadata { } Interface Description exported from @angular/core/testing/index, defined in @angular/core/testing/test_bed.ts

TestabilityRegistry

Experimental Class Class Overview class TestabilityRegistry { constructor() registerApplication(token: any, testability: Testability) getTestability(elem: any) : Testability getAllTestabilities() : Testability[] getAllRootElements() : any[] findTestabilityInTree(elem: Node, findInAncestors?: boolean) : Testability } Class Description A global registry of Testability instances for specific elements. Annotations @Injectable() Constructor constructor() Class Details re

resolveForwardRef()

Experimental Function Class Export export resolveForwardRef(type: any) : any Lazily retrieves the reference value from a forwardRef. Acts as the identity function when given a non-forward-ref value. Example (live demo) let ref = forwardRef(() => 'refValue'); expect(resolveForwardRef(ref)).toEqual('refValue'); expect(resolveForwardRef('regularValue')).toEqual('regularValue'); See: forwardRef exported from @angular/core/index defined in @angular/core/src/di/forward_ref.ts

asNativeElements()

Experimental Function Class Export export asNativeElements(debugEls: DebugElement[]) : any exported from @angular/core/index defined in @angular/core/src/debug/debug_node.ts

style()

Experimental Function Class Export export style(tokens: string | {[key: string]: string | number} | Array<string|{[key: string]: string | number}>) : AnimationStyleMetadata style 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. style declares a key/value object containin