From b821f7fa5fb701cf6002061a7951beb72a97195e Mon Sep 17 00:00:00 2001 From: Naomi Black Date: Fri, 11 Sep 2015 20:41:40 -0700 Subject: [PATCH] docs(alpha-37): API doc update for alpha 37 --- .../ChangeDetectionError-class.jade | 36 -- .../ChangeDetectionStrategy-enum.jade | 103 ----- .../ChangeDetector-interface.jade | 220 --------- .../ChangeDetectorRef-class.jade | 78 ---- ...dAfterItHasBeenCheckedException-class.jade | 23 - .../IterableDiffer-interface.jade | 40 -- .../IterableDifferFactory-interface.jade | 40 -- .../IterableDiffers-class.jade | 68 --- .../KeyValueDiffer-interface.jade | 40 -- .../KeyValueDifferFactory-interface.jade | 40 -- .../KeyValueDiffers-class.jade | 68 --- .../api/change_detection/Locals-class.jade | 111 ----- .../PipeOnDestroy-interface.jade | 24 - .../PipeTransform-interface.jade | 24 - .../change_detection/WrappedValue-class.jade | 35 -- .../js/latest/api/change_detection/_data.json | 66 --- .../js/latest/api/change_detection/index.jade | 11 - .../latest/api/core/APP_COMPONENT-const.jade | 24 - .../js/latest/api/core/AppRootUrl-class.jade | 47 -- .../latest/api/core/AppViewManager-class.jade | 279 ----------- .../latest/api/core/ApplicationRef-class.jade | 78 ---- .../js/latest/api/core/Compiler-class.jade | 48 -- .../latest/api/core/ComponentRef-class.jade | 78 ---- .../api/core/ComponentUrlMapper-class.jade | 38 -- .../api/core/DirectiveResolver-class.jade | 35 -- .../core/DynamicComponentLoader-class.jade | 218 --------- .../js/latest/api/core/ElementRef-class.jade | 101 ---- .../latest/api/core/EventEmitter-class.jade | 103 ----- .../api/core/HostViewRef-interface.jade | 7 - .../js/latest/api/core/LifeCycle-class.jade | 61 --- .../docs/js/latest/api/core/NgZone-class.jade | 162 ------- .../js/latest/api/core/Observable-class.jade | 24 - .../latest/api/core/ProtoViewRef-class.jade | 22 - .../js/latest/api/core/QueryList-class.jade | 156 ------- .../js/latest/api/core/TemplateRef-class.jade | 65 --- .../js/latest/api/core/Type-interface.jade | 7 - .../js/latest/api/core/UrlResolver-class.jade | 39 -- .../api/core/ViewContainerRef-class.jade | 213 --------- .../js/latest/api/core/ViewRef-class.jade | 68 --- public/docs/js/latest/api/core/_data.json | 95 ---- public/docs/js/latest/api/core/index.jade | 11 - .../api/di/AbstractBindingError-class.jade | 127 ----- .../docs/js/latest/api/di/Binding-class.jade | 226 --------- .../latest/api/di/BindingBuilder-class.jade | 182 -------- .../api/di/BindingWithVisibility-class.jade | 63 --- .../api/di/CyclicDependencyError-class.jade | 23 - .../js/latest/api/di/Dependency-class.jade | 83 ---- .../api/di/DependencyMetadata-class.jade | 30 -- .../api/di/DependencyProvider-interface.jade | 24 - .../latest/api/di/ForwardRefFn-interface.jade | 7 - public/docs/js/latest/api/di/Host-var.jade | 11 - .../latest/api/di/HostFactory-interface.jade | 7 - .../js/latest/api/di/HostMetadata-class.jade | 34 -- public/docs/js/latest/api/di/Inject-var.jade | 11 - .../api/di/InjectFactory-interface.jade | 7 - .../latest/api/di/InjectMetadata-class.jade | 61 --- .../docs/js/latest/api/di/Injectable-var.jade | 11 - .../api/di/InjectableFactory-interface.jade | 7 - .../api/di/InjectableMetadata-class.jade | 33 -- .../docs/js/latest/api/di/Injector-class.jade | 214 --------- .../api/di/InstantiationError-class.jade | 35 -- .../api/di/InvalidBindingError-class.jade | 51 --- public/docs/js/latest/api/di/Key-class.jade | 59 --- .../js/latest/api/di/KeyRegistry-class.jade | 36 -- .../api/di/NoAnnotationError-class.jade | 63 --- .../latest/api/di/NoBindingError-class.jade | 23 - .../js/latest/api/di/OpaqueToken-class.jade | 49 -- .../docs/js/latest/api/di/Optional-var.jade | 11 - .../api/di/OptionalFactory-interface.jade | 7 - .../latest/api/di/OptionalMetadata-class.jade | 34 -- .../latest/api/di/OutOfBoundsError-class.jade | 51 --- .../js/latest/api/di/ProtoInjector-class.jade | 51 --- .../latest/api/di/ResolvedBinding-class.jade | 62 --- public/docs/js/latest/api/di/Self-var.jade | 11 - .../latest/api/di/SelfFactory-interface.jade | 7 - .../js/latest/api/di/SelfMetadata-class.jade | 34 -- .../docs/js/latest/api/di/SkipSelf-var.jade | 11 - .../api/di/SkipSelfFactory-interface.jade | 7 - .../latest/api/di/SkipSelfMetadata-class.jade | 34 -- .../js/latest/api/di/TypeLiteral-class.jade | 20 - .../js/latest/api/di/UNDEFINED-const.jade | 10 - .../js/latest/api/di/Visibility-enum.jade | 44 -- public/docs/js/latest/api/di/_data.json | 189 -------- .../docs/js/latest/api/di/bind-function.jade | 29 -- .../js/latest/api/di/forwardRef-function.jade | 41 -- public/docs/js/latest/api/di/index.jade | 11 - .../api/di/resolveForwardRef-function.jade | 22 - .../api/directives/CORE_DIRECTIVES-const.jade | 49 -- .../latest/api/directives/NgClass-class.jade | 93 ---- .../js/latest/api/directives/NgFor-class.jade | 109 ----- .../js/latest/api/directives/NgIf-class.jade | 45 -- .../api/directives/NgNonBindable-class.jade | 17 - .../latest/api/directives/NgStyle-class.jade | 65 --- .../latest/api/directives/NgSwitch-class.jade | 30 -- .../api/directives/NgSwitchDefault-class.jade | 33 -- .../api/directives/NgSwitchWhen-class.jade | 45 -- .../api/directives/RecordViewTuple-class.jade | 47 -- .../api/directives/SwitchView-class.jade | 55 --- .../docs/js/latest/api/directives/_data.json | 50 -- .../docs/js/latest/api/directives/index.jade | 11 - .../api/forms/AbstractControl-class.jade | 278 ----------- .../forms/AbstractControlDirective-class.jade | 111 ----- .../CheckboxControlValueAccessor-class.jade | 233 ---------- .../js/latest/api/forms/Control-class.jade | 63 --- .../latest/api/forms/ControlArray-class.jade | 118 ----- .../api/forms/ControlContainer-class.jade | 51 --- .../latest/api/forms/ControlGroup-class.jade | 122 ----- .../forms/ControlValueAccessor-interface.jade | 63 --- .../api/forms/DefaultValueAccessor-class.jade | 234 ---------- .../latest/api/forms/FORM_BINDINGS-const.jade | 10 - .../api/forms/FORM_DIRECTIVES-const.jade | 13 - .../js/latest/api/forms/Form-interface.jade | 127 ----- .../latest/api/forms/FormBuilder-class.jade | 73 --- .../js/latest/api/forms/NgControl-class.jade | 79 ---- .../api/forms/NgControlGroup-class.jade | 114 ----- .../latest/api/forms/NgControlName-class.jade | 191 -------- .../js/latest/api/forms/NgForm-class.jade | 248 ---------- .../latest/api/forms/NgFormControl-class.jade | 175 ------- .../latest/api/forms/NgFormModel-class.jade | 251 ---------- .../js/latest/api/forms/NgModel-class.jade | 163 ------- .../api/forms/NgRequiredValidator-class.jade | 40 -- .../api/forms/NgSelectOption-class.jade | 24 - .../latest/api/forms/NgValidator-class.jade | 27 -- .../SelectControlValueAccessor-class.jade | 245 ---------- .../js/latest/api/forms/Validators-class.jade | 14 - public/docs/js/latest/api/forms/_data.json | 106 ----- public/docs/js/latest/api/forms/index.jade | 11 - .../api/http/BaseRequestOptions-class.jade | 34 -- .../api/http/BaseResponseOptions-class.jade | 106 ----- .../js/latest/api/http/BrowserXhr-class.jade | 50 -- .../js/latest/api/http/Connection-class.jade | 61 --- .../api/http/ConnectionBackend-class.jade | 40 -- .../latest/api/http/HTTP_BINDINGS-const.jade | 24 - .../js/latest/api/http/Headers-class.jade | 193 -------- .../docs/js/latest/api/http/Http-class.jade | 156 ------- .../latest/api/http/JSONPBackend-class.jade | 50 -- .../api/http/JSONPConnection-class.jade | 104 ----- .../latest/api/http/JSONP_BINDINGS-const.jade | 10 - .../docs/js/latest/api/http/Jsonp-class.jade | 54 --- .../js/latest/api/http/MockBackend-class.jade | 169 ------- .../latest/api/http/MockConnection-class.jade | 148 ------ .../js/latest/api/http/ReadyStates-enum.jade | 81 ---- .../js/latest/api/http/Request-class.jade | 121 ----- .../api/http/RequestCacheOpts-enum.jade | 81 ---- .../api/http/RequestCredentialsOpts-enum.jade | 45 -- .../latest/api/http/RequestMethods-enum.jade | 93 ---- .../api/http/RequestModesOpts-enum.jade | 45 -- .../latest/api/http/RequestOptions-class.jade | 145 ------ .../http/RequestOptionsArgs-interface.jade | 105 ----- .../js/latest/api/http/Response-class.jade | 211 --------- .../api/http/ResponseOptions-class.jade | 112 ----- .../http/ResponseOptionsArgs-interface.jade | 81 ---- .../latest/api/http/ResponseTypes-enum.jade | 69 --- .../api/http/URLSearchParams-class.jade | 224 --------- .../js/latest/api/http/XHRBackend-class.jade | 50 -- .../latest/api/http/XHRConnection-class.jade | 79 ---- public/docs/js/latest/api/http/_data.json | 122 ----- public/docs/js/latest/api/http/index.jade | 11 - .../AfterContentChecked-interface.jade | 28 -- .../metadata/AfterContentInit-interface.jade | 28 -- .../metadata/AfterViewChecked-interface.jade | 28 -- .../api/metadata/AfterViewInit-interface.jade | 28 -- .../js/latest/api/metadata/Attribute-var.jade | 11 - .../metadata/AttributeFactory-interface.jade | 11 - .../api/metadata/AttributeMetadata-class.jade | 77 ---- .../latest/api/metadata/Class-function.jade | 98 ---- .../metadata/ClassDefinition-interface.jade | 44 -- .../js/latest/api/metadata/Component-var.jade | 11 - .../ComponentDecorator-interface.jade | 37 -- .../metadata/ComponentFactory-interface.jade | 11 - .../api/metadata/ComponentMetadata-class.jade | 118 ----- .../js/latest/api/metadata/Directive-var.jade | 11 - .../DirectiveDecorator-interface.jade | 11 - .../metadata/DirectiveFactory-interface.jade | 11 - .../api/metadata/DirectiveMetadata-class.jade | 432 ------------------ .../api/metadata/DoCheck-interface.jade | 28 -- .../api/metadata/LifecycleEvent-enum.jade | 264 ----------- .../api/metadata/OnChanges-interface.jade | 28 -- .../api/metadata/OnDestroy-interface.jade | 28 -- .../latest/api/metadata/OnInit-interface.jade | 28 -- .../docs/js/latest/api/metadata/Pipe-var.jade | 11 - .../api/metadata/PipeFactory-interface.jade | 11 - .../api/metadata/PipeMetadata-class.jade | 49 -- .../js/latest/api/metadata/Query-var.jade | 11 - .../api/metadata/QueryFactory-interface.jade | 11 - .../api/metadata/QueryMetadata-class.jade | 113 ----- .../api/metadata/TypeDecorator-interface.jade | 44 -- .../docs/js/latest/api/metadata/View-var.jade | 11 - .../api/metadata/ViewDecorator-interface.jade | 37 -- .../api/metadata/ViewEncapsulation-enum.jade | 52 --- .../api/metadata/ViewFactory-interface.jade | 11 - .../api/metadata/ViewMetadata-class.jade | 161 ------- .../js/latest/api/metadata/ViewQuery-var.jade | 11 - public/docs/js/latest/api/metadata/_data.json | 153 ------- public/docs/js/latest/api/metadata/index.jade | 11 - .../js/latest/api/pipes/AsyncPipe-class.jade | 72 --- .../latest/api/pipes/CurrencyPipe-class.jade | 48 -- .../latest/api/pipes/DEFAULT_PIPES-const.jade | 10 - .../api/pipes/DEFAULT_PIPES_TOKEN-const.jade | 10 - .../js/latest/api/pipes/DatePipe-class.jade | 64 --- .../latest/api/pipes/DecimalPipe-class.jade | 48 -- .../js/latest/api/pipes/JsonPipe-class.jade | 48 -- .../latest/api/pipes/LimitToPipe-class.jade | 57 --- .../latest/api/pipes/LowerCasePipe-class.jade | 48 -- .../latest/api/pipes/PercentPipe-class.jade | 48 -- .../latest/api/pipes/UpperCasePipe-class.jade | 48 -- public/docs/js/latest/api/pipes/_data.json | 50 -- public/docs/js/latest/api/pipes/index.jade | 11 - .../api/router/APP_BASE_HREF-const.jade | 10 - .../latest/api/router/AsyncRoute-class.jade | 81 ---- .../js/latest/api/router/AuxRoute-class.jade | 105 ----- .../js/latest/api/router/CanActivate-var.jade | 30 -- .../api/router/CanDeactivate-interface.jade | 24 - .../latest/api/router/CanReuse-interface.jade | 24 - .../router/ComponentDefinition-interface.jade | 44 -- .../router/ComponentInstruction-class.jade | 139 ------ .../router/HashLocationStrategy-class.jade | 129 ------ .../latest/api/router/Instruction-class.jade | 75 --- .../js/latest/api/router/Location-class.jade | 157 ------- .../api/router/LocationStrategy-class.jade | 104 ----- .../api/router/OnActivate-interface.jade | 24 - .../api/router/OnDeactivate-interface.jade | 24 - .../latest/api/router/OnReuse-interface.jade | 24 - .../latest/api/router/OpaqueToken-class.jade | 49 -- .../router/PathLocationStrategy-class.jade | 129 ------ .../js/latest/api/router/Pipeline-class.jade | 61 --- .../api/router/ROUTER_BINDINGS-const.jade | 10 - .../api/router/ROUTER_DIRECTIVES-const.jade | 10 - .../latest/api/router/ROUTE_DATA-const.jade | 10 - .../js/latest/api/router/Redirect-class.jade | 93 ---- .../latest/api/router/RootRouter-class.jade | 39 -- .../js/latest/api/router/Route-class.jade | 106 ----- .../js/latest/api/router/RouteConfig-var.jade | 10 - .../api/router/RouteDefinition-interface.jade | 80 ---- .../latest/api/router/RouteParams-class.jade | 51 --- .../api/router/RouteRegistry-class.jade | 88 ---- .../js/latest/api/router/Router-class.jade | 343 -------------- .../latest/api/router/RouterLink-class.jade | 93 ---- .../latest/api/router/RouterOutlet-class.jade | 146 ------ .../docs/js/latest/api/router/Url-class.jade | 103 ----- public/docs/js/latest/api/router/_data.json | 136 ------ public/docs/js/latest/api/router/index.jade | 11 - .../api/test/AsyncTestCompleter-class.jade | 41 -- public/docs/js/latest/api/test/By-class.jade | 9 - .../latest/api/test/DebugElement-class.jade | 200 -------- .../test/ELEMENT_PROBE_BINDINGS-const.jade | 10 - .../test/FunctionWithParamTokens-class.jade | 42 -- .../test/GuinessCompatibleSpy-interface.jade | 63 --- .../latest/api/test/NgMatchers-interface.jade | 166 ------- .../api/test/RootTestComponent-class.jade | 57 --- .../docs/js/latest/api/test/Scope-class.jade | 9 - .../js/latest/api/test/SpyObject-class.jade | 89 ---- .../api/test/TestComponentBuilder-class.jade | 100 ---- public/docs/js/latest/api/test/_data.json | 119 ----- .../js/latest/api/test/afterEach-var.jade | 10 - .../api/test/asNativeElements-function.jade | 19 - .../latest/api/test/beforeEach-function.jade | 19 - .../api/test/beforeEachBindings-function.jade | 29 -- .../api/test/createTestInjector-function.jade | 19 - .../latest/api/test/ddescribe-function.jade | 19 - .../js/latest/api/test/describe-function.jade | 19 - .../docs/js/latest/api/test/expect-var.jade | 10 - .../docs/js/latest/api/test/iit-function.jade | 19 - public/docs/js/latest/api/test/index.jade | 11 - .../js/latest/api/test/inject-function.jade | 41 -- .../api/test/inspectElement-function.jade | 19 - .../test/inspectNativeElement-function.jade | 19 - .../api/test/isInInnerZone-function.jade | 19 - .../docs/js/latest/api/test/it-function.jade | 19 - public/docs/js/latest/api/test/proxy-var.jade | 10 - .../latest/api/test/xdescribe-function.jade | 19 - .../docs/js/latest/api/test/xit-function.jade | 19 - 272 files changed, 18312 deletions(-) delete mode 100644 public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade delete mode 100644 public/docs/js/latest/api/change_detection/ChangeDetectionStrategy-enum.jade delete mode 100644 public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade delete mode 100644 public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade delete mode 100644 public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade delete mode 100644 public/docs/js/latest/api/change_detection/IterableDiffer-interface.jade delete mode 100644 public/docs/js/latest/api/change_detection/IterableDifferFactory-interface.jade delete mode 100644 public/docs/js/latest/api/change_detection/IterableDiffers-class.jade delete mode 100644 public/docs/js/latest/api/change_detection/KeyValueDiffer-interface.jade delete mode 100644 public/docs/js/latest/api/change_detection/KeyValueDifferFactory-interface.jade delete mode 100644 public/docs/js/latest/api/change_detection/KeyValueDiffers-class.jade delete mode 100644 public/docs/js/latest/api/change_detection/Locals-class.jade delete mode 100644 public/docs/js/latest/api/change_detection/PipeOnDestroy-interface.jade delete mode 100644 public/docs/js/latest/api/change_detection/PipeTransform-interface.jade delete mode 100644 public/docs/js/latest/api/change_detection/WrappedValue-class.jade delete mode 100644 public/docs/js/latest/api/change_detection/_data.json delete mode 100644 public/docs/js/latest/api/change_detection/index.jade delete mode 100644 public/docs/js/latest/api/core/APP_COMPONENT-const.jade delete mode 100644 public/docs/js/latest/api/core/AppRootUrl-class.jade delete mode 100644 public/docs/js/latest/api/core/AppViewManager-class.jade delete mode 100644 public/docs/js/latest/api/core/ApplicationRef-class.jade delete mode 100644 public/docs/js/latest/api/core/Compiler-class.jade delete mode 100644 public/docs/js/latest/api/core/ComponentRef-class.jade delete mode 100644 public/docs/js/latest/api/core/ComponentUrlMapper-class.jade delete mode 100644 public/docs/js/latest/api/core/DirectiveResolver-class.jade delete mode 100644 public/docs/js/latest/api/core/DynamicComponentLoader-class.jade delete mode 100644 public/docs/js/latest/api/core/ElementRef-class.jade delete mode 100644 public/docs/js/latest/api/core/EventEmitter-class.jade delete mode 100644 public/docs/js/latest/api/core/HostViewRef-interface.jade delete mode 100644 public/docs/js/latest/api/core/LifeCycle-class.jade delete mode 100644 public/docs/js/latest/api/core/NgZone-class.jade delete mode 100644 public/docs/js/latest/api/core/Observable-class.jade delete mode 100644 public/docs/js/latest/api/core/ProtoViewRef-class.jade delete mode 100644 public/docs/js/latest/api/core/QueryList-class.jade delete mode 100644 public/docs/js/latest/api/core/TemplateRef-class.jade delete mode 100644 public/docs/js/latest/api/core/Type-interface.jade delete mode 100644 public/docs/js/latest/api/core/UrlResolver-class.jade delete mode 100644 public/docs/js/latest/api/core/ViewContainerRef-class.jade delete mode 100644 public/docs/js/latest/api/core/ViewRef-class.jade delete mode 100644 public/docs/js/latest/api/core/_data.json delete mode 100644 public/docs/js/latest/api/core/index.jade delete mode 100644 public/docs/js/latest/api/di/AbstractBindingError-class.jade delete mode 100644 public/docs/js/latest/api/di/Binding-class.jade delete mode 100644 public/docs/js/latest/api/di/BindingBuilder-class.jade delete mode 100644 public/docs/js/latest/api/di/BindingWithVisibility-class.jade delete mode 100644 public/docs/js/latest/api/di/CyclicDependencyError-class.jade delete mode 100644 public/docs/js/latest/api/di/Dependency-class.jade delete mode 100644 public/docs/js/latest/api/di/DependencyMetadata-class.jade delete mode 100644 public/docs/js/latest/api/di/DependencyProvider-interface.jade delete mode 100644 public/docs/js/latest/api/di/ForwardRefFn-interface.jade delete mode 100644 public/docs/js/latest/api/di/Host-var.jade delete mode 100644 public/docs/js/latest/api/di/HostFactory-interface.jade delete mode 100644 public/docs/js/latest/api/di/HostMetadata-class.jade delete mode 100644 public/docs/js/latest/api/di/Inject-var.jade delete mode 100644 public/docs/js/latest/api/di/InjectFactory-interface.jade delete mode 100644 public/docs/js/latest/api/di/InjectMetadata-class.jade delete mode 100644 public/docs/js/latest/api/di/Injectable-var.jade delete mode 100644 public/docs/js/latest/api/di/InjectableFactory-interface.jade delete mode 100644 public/docs/js/latest/api/di/InjectableMetadata-class.jade delete mode 100644 public/docs/js/latest/api/di/Injector-class.jade delete mode 100644 public/docs/js/latest/api/di/InstantiationError-class.jade delete mode 100644 public/docs/js/latest/api/di/InvalidBindingError-class.jade delete mode 100644 public/docs/js/latest/api/di/Key-class.jade delete mode 100644 public/docs/js/latest/api/di/KeyRegistry-class.jade delete mode 100644 public/docs/js/latest/api/di/NoAnnotationError-class.jade delete mode 100644 public/docs/js/latest/api/di/NoBindingError-class.jade delete mode 100644 public/docs/js/latest/api/di/OpaqueToken-class.jade delete mode 100644 public/docs/js/latest/api/di/Optional-var.jade delete mode 100644 public/docs/js/latest/api/di/OptionalFactory-interface.jade delete mode 100644 public/docs/js/latest/api/di/OptionalMetadata-class.jade delete mode 100644 public/docs/js/latest/api/di/OutOfBoundsError-class.jade delete mode 100644 public/docs/js/latest/api/di/ProtoInjector-class.jade delete mode 100644 public/docs/js/latest/api/di/ResolvedBinding-class.jade delete mode 100644 public/docs/js/latest/api/di/Self-var.jade delete mode 100644 public/docs/js/latest/api/di/SelfFactory-interface.jade delete mode 100644 public/docs/js/latest/api/di/SelfMetadata-class.jade delete mode 100644 public/docs/js/latest/api/di/SkipSelf-var.jade delete mode 100644 public/docs/js/latest/api/di/SkipSelfFactory-interface.jade delete mode 100644 public/docs/js/latest/api/di/SkipSelfMetadata-class.jade delete mode 100644 public/docs/js/latest/api/di/TypeLiteral-class.jade delete mode 100644 public/docs/js/latest/api/di/UNDEFINED-const.jade delete mode 100644 public/docs/js/latest/api/di/Visibility-enum.jade delete mode 100644 public/docs/js/latest/api/di/_data.json delete mode 100644 public/docs/js/latest/api/di/bind-function.jade delete mode 100644 public/docs/js/latest/api/di/forwardRef-function.jade delete mode 100644 public/docs/js/latest/api/di/index.jade delete mode 100644 public/docs/js/latest/api/di/resolveForwardRef-function.jade delete mode 100644 public/docs/js/latest/api/directives/CORE_DIRECTIVES-const.jade delete mode 100644 public/docs/js/latest/api/directives/NgClass-class.jade delete mode 100644 public/docs/js/latest/api/directives/NgFor-class.jade delete mode 100644 public/docs/js/latest/api/directives/NgIf-class.jade delete mode 100644 public/docs/js/latest/api/directives/NgNonBindable-class.jade delete mode 100644 public/docs/js/latest/api/directives/NgStyle-class.jade delete mode 100644 public/docs/js/latest/api/directives/NgSwitch-class.jade delete mode 100644 public/docs/js/latest/api/directives/NgSwitchDefault-class.jade delete mode 100644 public/docs/js/latest/api/directives/NgSwitchWhen-class.jade delete mode 100644 public/docs/js/latest/api/directives/RecordViewTuple-class.jade delete mode 100644 public/docs/js/latest/api/directives/SwitchView-class.jade delete mode 100644 public/docs/js/latest/api/directives/_data.json delete mode 100644 public/docs/js/latest/api/directives/index.jade delete mode 100644 public/docs/js/latest/api/forms/AbstractControl-class.jade delete mode 100644 public/docs/js/latest/api/forms/AbstractControlDirective-class.jade delete mode 100644 public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade delete mode 100644 public/docs/js/latest/api/forms/Control-class.jade delete mode 100644 public/docs/js/latest/api/forms/ControlArray-class.jade delete mode 100644 public/docs/js/latest/api/forms/ControlContainer-class.jade delete mode 100644 public/docs/js/latest/api/forms/ControlGroup-class.jade delete mode 100644 public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade delete mode 100644 public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade delete mode 100644 public/docs/js/latest/api/forms/FORM_BINDINGS-const.jade delete mode 100644 public/docs/js/latest/api/forms/FORM_DIRECTIVES-const.jade delete mode 100644 public/docs/js/latest/api/forms/Form-interface.jade delete mode 100644 public/docs/js/latest/api/forms/FormBuilder-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgControl-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgControlGroup-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgControlName-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgForm-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgFormControl-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgFormModel-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgModel-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgRequiredValidator-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgSelectOption-class.jade delete mode 100644 public/docs/js/latest/api/forms/NgValidator-class.jade delete mode 100644 public/docs/js/latest/api/forms/SelectControlValueAccessor-class.jade delete mode 100644 public/docs/js/latest/api/forms/Validators-class.jade delete mode 100644 public/docs/js/latest/api/forms/_data.json delete mode 100644 public/docs/js/latest/api/forms/index.jade delete mode 100644 public/docs/js/latest/api/http/BaseRequestOptions-class.jade delete mode 100644 public/docs/js/latest/api/http/BaseResponseOptions-class.jade delete mode 100644 public/docs/js/latest/api/http/BrowserXhr-class.jade delete mode 100644 public/docs/js/latest/api/http/Connection-class.jade delete mode 100644 public/docs/js/latest/api/http/ConnectionBackend-class.jade delete mode 100644 public/docs/js/latest/api/http/HTTP_BINDINGS-const.jade delete mode 100644 public/docs/js/latest/api/http/Headers-class.jade delete mode 100644 public/docs/js/latest/api/http/Http-class.jade delete mode 100644 public/docs/js/latest/api/http/JSONPBackend-class.jade delete mode 100644 public/docs/js/latest/api/http/JSONPConnection-class.jade delete mode 100644 public/docs/js/latest/api/http/JSONP_BINDINGS-const.jade delete mode 100644 public/docs/js/latest/api/http/Jsonp-class.jade delete mode 100644 public/docs/js/latest/api/http/MockBackend-class.jade delete mode 100644 public/docs/js/latest/api/http/MockConnection-class.jade delete mode 100644 public/docs/js/latest/api/http/ReadyStates-enum.jade delete mode 100644 public/docs/js/latest/api/http/Request-class.jade delete mode 100644 public/docs/js/latest/api/http/RequestCacheOpts-enum.jade delete mode 100644 public/docs/js/latest/api/http/RequestCredentialsOpts-enum.jade delete mode 100644 public/docs/js/latest/api/http/RequestMethods-enum.jade delete mode 100644 public/docs/js/latest/api/http/RequestModesOpts-enum.jade delete mode 100644 public/docs/js/latest/api/http/RequestOptions-class.jade delete mode 100644 public/docs/js/latest/api/http/RequestOptionsArgs-interface.jade delete mode 100644 public/docs/js/latest/api/http/Response-class.jade delete mode 100644 public/docs/js/latest/api/http/ResponseOptions-class.jade delete mode 100644 public/docs/js/latest/api/http/ResponseOptionsArgs-interface.jade delete mode 100644 public/docs/js/latest/api/http/ResponseTypes-enum.jade delete mode 100644 public/docs/js/latest/api/http/URLSearchParams-class.jade delete mode 100644 public/docs/js/latest/api/http/XHRBackend-class.jade delete mode 100644 public/docs/js/latest/api/http/XHRConnection-class.jade delete mode 100644 public/docs/js/latest/api/http/_data.json delete mode 100644 public/docs/js/latest/api/http/index.jade delete mode 100644 public/docs/js/latest/api/metadata/AfterContentChecked-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/AfterContentInit-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/AfterViewChecked-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/AfterViewInit-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/Attribute-var.jade delete mode 100644 public/docs/js/latest/api/metadata/AttributeFactory-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/AttributeMetadata-class.jade delete mode 100644 public/docs/js/latest/api/metadata/Class-function.jade delete mode 100644 public/docs/js/latest/api/metadata/ClassDefinition-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/Component-var.jade delete mode 100644 public/docs/js/latest/api/metadata/ComponentDecorator-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/ComponentFactory-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/ComponentMetadata-class.jade delete mode 100644 public/docs/js/latest/api/metadata/Directive-var.jade delete mode 100644 public/docs/js/latest/api/metadata/DirectiveDecorator-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/DirectiveFactory-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/DirectiveMetadata-class.jade delete mode 100644 public/docs/js/latest/api/metadata/DoCheck-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/LifecycleEvent-enum.jade delete mode 100644 public/docs/js/latest/api/metadata/OnChanges-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/OnDestroy-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/OnInit-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/Pipe-var.jade delete mode 100644 public/docs/js/latest/api/metadata/PipeFactory-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/PipeMetadata-class.jade delete mode 100644 public/docs/js/latest/api/metadata/Query-var.jade delete mode 100644 public/docs/js/latest/api/metadata/QueryFactory-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/QueryMetadata-class.jade delete mode 100644 public/docs/js/latest/api/metadata/TypeDecorator-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/View-var.jade delete mode 100644 public/docs/js/latest/api/metadata/ViewDecorator-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/ViewEncapsulation-enum.jade delete mode 100644 public/docs/js/latest/api/metadata/ViewFactory-interface.jade delete mode 100644 public/docs/js/latest/api/metadata/ViewMetadata-class.jade delete mode 100644 public/docs/js/latest/api/metadata/ViewQuery-var.jade delete mode 100644 public/docs/js/latest/api/metadata/_data.json delete mode 100644 public/docs/js/latest/api/metadata/index.jade delete mode 100644 public/docs/js/latest/api/pipes/AsyncPipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/CurrencyPipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/DEFAULT_PIPES-const.jade delete mode 100644 public/docs/js/latest/api/pipes/DEFAULT_PIPES_TOKEN-const.jade delete mode 100644 public/docs/js/latest/api/pipes/DatePipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/DecimalPipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/JsonPipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/LimitToPipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/LowerCasePipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/PercentPipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/UpperCasePipe-class.jade delete mode 100644 public/docs/js/latest/api/pipes/_data.json delete mode 100644 public/docs/js/latest/api/pipes/index.jade delete mode 100644 public/docs/js/latest/api/router/APP_BASE_HREF-const.jade delete mode 100644 public/docs/js/latest/api/router/AsyncRoute-class.jade delete mode 100644 public/docs/js/latest/api/router/AuxRoute-class.jade delete mode 100644 public/docs/js/latest/api/router/CanActivate-var.jade delete mode 100644 public/docs/js/latest/api/router/CanDeactivate-interface.jade delete mode 100644 public/docs/js/latest/api/router/CanReuse-interface.jade delete mode 100644 public/docs/js/latest/api/router/ComponentDefinition-interface.jade delete mode 100644 public/docs/js/latest/api/router/ComponentInstruction-class.jade delete mode 100644 public/docs/js/latest/api/router/HashLocationStrategy-class.jade delete mode 100644 public/docs/js/latest/api/router/Instruction-class.jade delete mode 100644 public/docs/js/latest/api/router/Location-class.jade delete mode 100644 public/docs/js/latest/api/router/LocationStrategy-class.jade delete mode 100644 public/docs/js/latest/api/router/OnActivate-interface.jade delete mode 100644 public/docs/js/latest/api/router/OnDeactivate-interface.jade delete mode 100644 public/docs/js/latest/api/router/OnReuse-interface.jade delete mode 100644 public/docs/js/latest/api/router/OpaqueToken-class.jade delete mode 100644 public/docs/js/latest/api/router/PathLocationStrategy-class.jade delete mode 100644 public/docs/js/latest/api/router/Pipeline-class.jade delete mode 100644 public/docs/js/latest/api/router/ROUTER_BINDINGS-const.jade delete mode 100644 public/docs/js/latest/api/router/ROUTER_DIRECTIVES-const.jade delete mode 100644 public/docs/js/latest/api/router/ROUTE_DATA-const.jade delete mode 100644 public/docs/js/latest/api/router/Redirect-class.jade delete mode 100644 public/docs/js/latest/api/router/RootRouter-class.jade delete mode 100644 public/docs/js/latest/api/router/Route-class.jade delete mode 100644 public/docs/js/latest/api/router/RouteConfig-var.jade delete mode 100644 public/docs/js/latest/api/router/RouteDefinition-interface.jade delete mode 100644 public/docs/js/latest/api/router/RouteParams-class.jade delete mode 100644 public/docs/js/latest/api/router/RouteRegistry-class.jade delete mode 100644 public/docs/js/latest/api/router/Router-class.jade delete mode 100644 public/docs/js/latest/api/router/RouterLink-class.jade delete mode 100644 public/docs/js/latest/api/router/RouterOutlet-class.jade delete mode 100644 public/docs/js/latest/api/router/Url-class.jade delete mode 100644 public/docs/js/latest/api/router/_data.json delete mode 100644 public/docs/js/latest/api/router/index.jade delete mode 100644 public/docs/js/latest/api/test/AsyncTestCompleter-class.jade delete mode 100644 public/docs/js/latest/api/test/By-class.jade delete mode 100644 public/docs/js/latest/api/test/DebugElement-class.jade delete mode 100644 public/docs/js/latest/api/test/ELEMENT_PROBE_BINDINGS-const.jade delete mode 100644 public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade delete mode 100644 public/docs/js/latest/api/test/GuinessCompatibleSpy-interface.jade delete mode 100644 public/docs/js/latest/api/test/NgMatchers-interface.jade delete mode 100644 public/docs/js/latest/api/test/RootTestComponent-class.jade delete mode 100644 public/docs/js/latest/api/test/Scope-class.jade delete mode 100644 public/docs/js/latest/api/test/SpyObject-class.jade delete mode 100644 public/docs/js/latest/api/test/TestComponentBuilder-class.jade delete mode 100644 public/docs/js/latest/api/test/_data.json delete mode 100644 public/docs/js/latest/api/test/afterEach-var.jade delete mode 100644 public/docs/js/latest/api/test/asNativeElements-function.jade delete mode 100644 public/docs/js/latest/api/test/beforeEach-function.jade delete mode 100644 public/docs/js/latest/api/test/beforeEachBindings-function.jade delete mode 100644 public/docs/js/latest/api/test/createTestInjector-function.jade delete mode 100644 public/docs/js/latest/api/test/ddescribe-function.jade delete mode 100644 public/docs/js/latest/api/test/describe-function.jade delete mode 100644 public/docs/js/latest/api/test/expect-var.jade delete mode 100644 public/docs/js/latest/api/test/iit-function.jade delete mode 100644 public/docs/js/latest/api/test/index.jade delete mode 100644 public/docs/js/latest/api/test/inject-function.jade delete mode 100644 public/docs/js/latest/api/test/inspectElement-function.jade delete mode 100644 public/docs/js/latest/api/test/inspectNativeElement-function.jade delete mode 100644 public/docs/js/latest/api/test/isInInnerZone-function.jade delete mode 100644 public/docs/js/latest/api/test/it-function.jade delete mode 100644 public/docs/js/latest/api/test/proxy-var.jade delete mode 100644 public/docs/js/latest/api/test/xdescribe-function.jade delete mode 100644 public/docs/js/latest/api/test/xit-function.jade diff --git a/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade deleted file mode 100644 index beabadd3ff..0000000000 --- a/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade +++ /dev/null @@ -1,36 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/exceptions.ts (line 17) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(exp: string, originalException: any, originalStack: any, context: any) - - :markdown - - - - - - - .l-sub-section - h3 location - - - :markdown - Location of the expression. - - - - - - diff --git a/public/docs/js/latest/api/change_detection/ChangeDetectionStrategy-enum.jade b/public/docs/js/latest/api/change_detection/ChangeDetectionStrategy-enum.jade deleted file mode 100644 index 786d96c551..0000000000 --- a/public/docs/js/latest/api/change_detection/ChangeDetectionStrategy-enum.jade +++ /dev/null @@ -1,103 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/constants.ts (line 2) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 CheckOnce - - - :markdown - `CheckedOnce` means that after calling detectChanges the mode of the change detector - will become `Checked`. - - - - - - - - .l-sub-section - h3 Checked - - - :markdown - `Checked` means that the change detector should be skipped until its mode changes to - `CheckOnce`. - - - - - - - - .l-sub-section - h3 CheckAlways - - - :markdown - `CheckAlways` means that after calling detectChanges the mode of the change detector - will remain `CheckAlways`. - - - - - - - - .l-sub-section - h3 Detached - - - :markdown - `Detached` means that the change detector sub tree is not a part of the main tree and - should be skipped. - - - - - - - - .l-sub-section - h3 OnPush - - - :markdown - `OnPush` means that the change detector's mode will be set to `CheckOnce` during hydration. - - - - - - - - .l-sub-section - h3 Default - - - :markdown - `Default` means that the change detector's mode will be set to `CheckAlways` during hydration. - - - - - - - - .l-sub-section - h3 OnPushObserve - - - :markdown - This is an experimental feature. Works only in Dart. - - - - - - diff --git a/public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade b/public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade deleted file mode 100644 index c05f0c13fd..0000000000 --- a/public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade +++ /dev/null @@ -1,220 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/interfaces.ts (line 55) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 parent - - - :markdown - - - - - - - - .l-sub-section - h3 mode - - - :markdown - - - - - - - - .l-sub-section - h3 ref - - - :markdown - - - - - - - - .l-sub-section - h3 addChild - - - pre.prettyprint - code. - addChild(cd: ChangeDetector) - - :markdown - - - - - - - - .l-sub-section - h3 addShadowDomChild - - - pre.prettyprint - code. - addShadowDomChild(cd: ChangeDetector) - - :markdown - - - - - - - - .l-sub-section - h3 removeChild - - - pre.prettyprint - code. - removeChild(cd: ChangeDetector) - - :markdown - - - - - - - - .l-sub-section - h3 removeShadowDomChild - - - pre.prettyprint - code. - removeShadowDomChild(cd: ChangeDetector) - - :markdown - - - - - - - - .l-sub-section - h3 remove - - - pre.prettyprint - code. - remove() - - :markdown - - - - - - - - .l-sub-section - h3 hydrate - - - pre.prettyprint - code. - hydrate(context: any, locals: Locals, directives: any, pipes: any) - - :markdown - - - - - - - - .l-sub-section - h3 dehydrate - - - pre.prettyprint - code. - dehydrate() - - :markdown - - - - - - - - .l-sub-section - h3 markPathToRootAsCheckOnce - - - pre.prettyprint - code. - markPathToRootAsCheckOnce() - - :markdown - - - - - - - - .l-sub-section - h3 handleEvent - - - pre.prettyprint - code. - handleEvent(eventName: string, elIndex: number, locals: Locals) - - :markdown - - - - - - - - .l-sub-section - h3 detectChanges - - - pre.prettyprint - code. - detectChanges() - - :markdown - - - - - - - - .l-sub-section - h3 checkNoChanges - - - pre.prettyprint - code. - checkNoChanges() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade deleted file mode 100644 index 165a868a00..0000000000 --- a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade +++ /dev/null @@ -1,78 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/change_detector_ref.ts (line 2) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_cd: ChangeDetector) - - :markdown - - - - - - .l-sub-section - h3 markForCheck - - - pre.prettyprint - code. - markForCheck() - - :markdown - Request to check all OnPush ancestors. - - - - - - - - .l-sub-section - h3 detach - - - pre.prettyprint - code. - detach() - - :markdown - Detaches the change detector from the change detector tree. - - The detached change detector will not be checked until it is reattached. - - - - - - - - .l-sub-section - h3 reattach - - - pre.prettyprint - code. - reattach() - - :markdown - Reattach the change detector to the change detector tree. - - This also requests a check of this change detector. This reattached change detector will be - checked during the next change detection run. - - - - - - diff --git a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade b/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade deleted file mode 100644 index f1f1c75624..0000000000 --- a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade +++ /dev/null @@ -1,23 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/exceptions.ts (line 1) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(exp: string, oldValue: any, currValue: any, context: any) - - :markdown - - - - - diff --git a/public/docs/js/latest/api/change_detection/IterableDiffer-interface.jade b/public/docs/js/latest/api/change_detection/IterableDiffer-interface.jade deleted file mode 100644 index 1ed68653f7..0000000000 --- a/public/docs/js/latest/api/change_detection/IterableDiffer-interface.jade +++ /dev/null @@ -1,40 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/differs/iterable_differs.ts (line 4) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 diff - - - pre.prettyprint - code. - diff(object: Object) - - :markdown - - - - - - - - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/IterableDifferFactory-interface.jade b/public/docs/js/latest/api/change_detection/IterableDifferFactory-interface.jade deleted file mode 100644 index bd1bfdaca4..0000000000 --- a/public/docs/js/latest/api/change_detection/IterableDifferFactory-interface.jade +++ /dev/null @@ -1,40 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/differs/iterable_differs.ts (line 9) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 supports - - - pre.prettyprint - code. - supports(objects: Object) - - :markdown - - - - - - - - .l-sub-section - h3 create - - - pre.prettyprint - code. - create(cdRef: ChangeDetectorRef) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/IterableDiffers-class.jade b/public/docs/js/latest/api/change_detection/IterableDiffers-class.jade deleted file mode 100644 index 6c14f697fd..0000000000 --- a/public/docs/js/latest/api/change_detection/IterableDiffers-class.jade +++ /dev/null @@ -1,68 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/differs/iterable_differs.ts (line 17) - -:markdown - Change detection enables data binding in Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(factories: IterableDifferFactory[]) - - :markdown - - - - - - - .l-sub-section - h3 factories - - - :markdown - - - - - - - - .l-sub-section - h3 find - - - pre.prettyprint - code. - find(iterable: Object) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/KeyValueDiffer-interface.jade b/public/docs/js/latest/api/change_detection/KeyValueDiffer-interface.jade deleted file mode 100644 index c40d2d628f..0000000000 --- a/public/docs/js/latest/api/change_detection/KeyValueDiffer-interface.jade +++ /dev/null @@ -1,40 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/differs/keyvalue_differs.ts (line 4) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 diff - - - pre.prettyprint - code. - diff(object: Object) - - :markdown - - - - - - - - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/KeyValueDifferFactory-interface.jade b/public/docs/js/latest/api/change_detection/KeyValueDifferFactory-interface.jade deleted file mode 100644 index f86da884fc..0000000000 --- a/public/docs/js/latest/api/change_detection/KeyValueDifferFactory-interface.jade +++ /dev/null @@ -1,40 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/differs/keyvalue_differs.ts (line 9) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 supports - - - pre.prettyprint - code. - supports(objects: Object) - - :markdown - - - - - - - - .l-sub-section - h3 create - - - pre.prettyprint - code. - create(cdRef: ChangeDetectorRef) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/KeyValueDiffers-class.jade b/public/docs/js/latest/api/change_detection/KeyValueDiffers-class.jade deleted file mode 100644 index 51ab481ed1..0000000000 --- a/public/docs/js/latest/api/change_detection/KeyValueDiffers-class.jade +++ /dev/null @@ -1,68 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/differs/keyvalue_differs.ts (line 17) - -:markdown - Change detection enables data binding in Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(factories: KeyValueDifferFactory[]) - - :markdown - - - - - - - .l-sub-section - h3 factories - - - :markdown - - - - - - - - .l-sub-section - h3 find - - - pre.prettyprint - code. - find(kv: Object) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/Locals-class.jade b/public/docs/js/latest/api/change_detection/Locals-class.jade deleted file mode 100644 index b21a845047..0000000000 --- a/public/docs/js/latest/api/change_detection/Locals-class.jade +++ /dev/null @@ -1,111 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/parser/locals.ts (line 2) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(parent: Locals, current: Map<any, any>) - - :markdown - - - - - - - .l-sub-section - h3 parent - - - :markdown - - - - - - - - .l-sub-section - h3 current - - - :markdown - - - - - - - - .l-sub-section - h3 contains - - - pre.prettyprint - code. - contains(name: string) - - :markdown - - - - - - - - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(name: string) - - :markdown - - - - - - - - .l-sub-section - h3 set - - - pre.prettyprint - code. - set(name: string, value: any) - - :markdown - - - - - - - - .l-sub-section - h3 clearValues - - - pre.prettyprint - code. - clearValues() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/PipeOnDestroy-interface.jade b/public/docs/js/latest/api/change_detection/PipeOnDestroy-interface.jade deleted file mode 100644 index f95fb8ca19..0000000000 --- a/public/docs/js/latest/api/change_detection/PipeOnDestroy-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/pipe_transform.ts (line 16) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/PipeTransform-interface.jade b/public/docs/js/latest/api/change_detection/PipeTransform-interface.jade deleted file mode 100644 index 95fd6bd5fb..0000000000 --- a/public/docs/js/latest/api/change_detection/PipeTransform-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/pipe_transform.ts (line 1) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: any, args: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/WrappedValue-class.jade b/public/docs/js/latest/api/change_detection/WrappedValue-class.jade deleted file mode 100644 index 904acdca25..0000000000 --- a/public/docs/js/latest/api/change_detection/WrappedValue-class.jade +++ /dev/null @@ -1,35 +0,0 @@ - -p.location-badge. - exported from angular2/change_detection - defined in angular2/src/core/change_detection/change_detection_util.ts (line 14) - -:markdown - Change detection enables data binding in Angular. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(wrapped: any) - - :markdown - - - - - - - .l-sub-section - h3 wrapped - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/change_detection/_data.json b/public/docs/js/latest/api/change_detection/_data.json deleted file mode 100644 index 4603356eb3..0000000000 --- a/public/docs/js/latest/api/change_detection/_data.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "index" : { - "title" : "Change Detection", - "intro" : "Change detection enables data binding in Angular." - }, - - "ChangeDetectionStrategy-enum" : { - "title" : "ChangeDetectionStrategy" - }, - - "ExpressionChangedAfterItHasBeenCheckedException-class" : { - "title" : "ExpressionChangedAfterItHasBeenCheckedException" - }, - - "ChangeDetectionError-class" : { - "title" : "ChangeDetectionError" - }, - - "ChangeDetector-interface" : { - "title" : "ChangeDetector" - }, - - "Locals-class" : { - "title" : "Locals" - }, - - "ChangeDetectorRef-class" : { - "title" : "ChangeDetectorRef" - }, - - "WrappedValue-class" : { - "title" : "WrappedValue" - }, - - "PipeTransform-interface" : { - "title" : "PipeTransform" - }, - - "PipeOnDestroy-interface" : { - "title" : "PipeOnDestroy" - }, - - "IterableDiffers-class" : { - "title" : "IterableDiffers" - }, - - "IterableDiffer-interface" : { - "title" : "IterableDiffer" - }, - - "IterableDifferFactory-interface" : { - "title" : "IterableDifferFactory" - }, - - "KeyValueDiffers-class" : { - "title" : "KeyValueDiffers" - }, - - "KeyValueDiffer-interface" : { - "title" : "KeyValueDiffer" - }, - - "KeyValueDifferFactory-interface" : { - "title" : "KeyValueDifferFactory" - } -} diff --git a/public/docs/js/latest/api/change_detection/index.jade b/public/docs/js/latest/api/change_detection/index.jade deleted file mode 100644 index bd0a50ae71..0000000000 --- a/public/docs/js/latest/api/change_detection/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/change_detection.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/core/APP_COMPONENT-const.jade b/public/docs/js/latest/api/core/APP_COMPONENT-const.jade deleted file mode 100644 index 94590e37c0..0000000000 --- a/public/docs/js/latest/api/core/APP_COMPONENT-const.jade +++ /dev/null @@ -1,24 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/core - defined in angular2/src/core/application_tokens.ts (line 25) - - :markdown - An opaque token representing the application root type in the Injector. - - ``` - @Component(...) - @View(...) - class MyApp { - ... - } - - bootstrap(MyApp).then((appRef:ApplicationRef) { - expect(appRef.injector.get(appComponentTypeToken)).toEqual(MyApp); - }); - - ``` - - - diff --git a/public/docs/js/latest/api/core/AppRootUrl-class.jade b/public/docs/js/latest/api/core/AppRootUrl-class.jade deleted file mode 100644 index badac218c5..0000000000 --- a/public/docs/js/latest/api/core/AppRootUrl-class.jade +++ /dev/null @@ -1,47 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/services/app_root_url.ts (line 2) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(value: string) - - :markdown - - - - - - - .l-sub-section - h3 value - - - :markdown - Returns the base URL of the currently running application. - - - - - - - diff --git a/public/docs/js/latest/api/core/AppViewManager-class.jade b/public/docs/js/latest/api/core/AppViewManager-class.jade deleted file mode 100644 index 3e48791d4b..0000000000 --- a/public/docs/js/latest/api/core/AppViewManager-class.jade +++ /dev/null @@ -1,279 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/view_manager.ts (line 18) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_viewPool: AppViewPool, _viewListener: AppViewListener, _utils: AppViewManagerUtils, _renderer: Renderer) - - :markdown - - - - - - .l-sub-section - h3 getViewContainer - - - pre.prettyprint - code. - getViewContainer(location: ElementRef) - - :markdown - Returns a ViewContainerRef at the ElementRef location. - - - - - - - - .l-sub-section - h3 getHostElement - - - pre.prettyprint - code. - getHostElement(hostViewRef: HostViewRef) - - :markdown - Return the first child element of the host element view. - - - - - - - - .l-sub-section - h3 getNamedElementInComponentView - - - pre.prettyprint - code. - getNamedElementInComponentView(hostLocation: ElementRef, variableName: string) - - :markdown - Returns an ElementRef for the element with the given variable name - in the current view. - - - `hostLocation`: ElementRef of any element in the View which defines the scope of - search. - - `variableName`: Name of the variable to locate. - - Returns ElementRef of the found element or null. (Throws if not found.) - - - - - - - - .l-sub-section - h3 getComponent - - - pre.prettyprint - code. - getComponent(hostLocation: ElementRef) - - :markdown - Returns the component instance for a given element. - - The component is the execution context as seen by an expression at that ElementRef - location. - - - - - - - - .l-sub-section - h3 createRootHostView - - - pre.prettyprint - code. - createRootHostView(hostProtoViewRef: ProtoViewRef, overrideSelector: string, injector: Injector) - - :markdown - Load component view into existing element. - - Use this if a host element is already in the DOM and it is necessary to upgrade - the element into Angular component by attaching a view but reusing the existing element. - - - `hostProtoViewRef`: ProtoViewRef Proto view to use in creating a view for this - component. - - `overrideSelector`: (optional) selector to use in locating the existing element to load - the view into. If not specified use the selector in the component definition of the - `hostProtoView`. - - injector: Injector to use as parent injector for the view. - - See AppViewManager. - - - - ``` - @ng.Component({ - selector: 'child-component' - }) - @ng.View({ - template: 'Child' - }) - class ChildComponent { - - } - - @ng.Component({ - selector: 'my-app' - }) - @ng.View({ - template: ` - Parent () - ` - }) - class MyApp { - viewRef: ng.ViewRef; - - constructor(public appViewManager: ng.AppViewManager, compiler: ng.Compiler) { - compiler.compileInHost(ChildComponent).then((protoView: ng.ProtoViewRef) => { - this.viewRef = appViewManager.createRootHostView(protoView, 'some-component', null); - }) - } - - onDestroy() { - this.appViewManager.destroyRootHostView(this.viewRef); - this.viewRef = null; - } - } - - ng.bootstrap(MyApp); - ``` - - - - - - - - .l-sub-section - h3 destroyRootHostView - - - pre.prettyprint - code. - destroyRootHostView(hostViewRef: HostViewRef) - - :markdown - Remove the View created with AppViewManager. - - - - - - - - .l-sub-section - h3 createEmbeddedViewInContainer - - - pre.prettyprint - code. - createEmbeddedViewInContainer(viewContainerLocation: ElementRef, atIndex: number, templateRef: TemplateRef) - - :markdown - See AppViewManager. - - - - - - - - .l-sub-section - h3 createHostViewInContainer - - - pre.prettyprint - code. - createHostViewInContainer(viewContainerLocation: ElementRef, atIndex: number, protoViewRef: ProtoViewRef, imperativelyCreatedInjector: ResolvedBinding[]) - - :markdown - See AppViewManager. - - - - - - - - .l-sub-section - h3 destroyViewInContainer - - - pre.prettyprint - code. - destroyViewInContainer(viewContainerLocation: ElementRef, atIndex: number) - - :markdown - See AppViewManager. - - - - - - - - .l-sub-section - h3 attachViewInContainer - - - pre.prettyprint - code. - attachViewInContainer(viewContainerLocation: ElementRef, atIndex: number, viewRef: ViewRef) - - :markdown - See AppViewManager. - - - - - - - - .l-sub-section - h3 detachViewInContainer - - - pre.prettyprint - code. - detachViewInContainer(viewContainerLocation: ElementRef, atIndex: number) - - :markdown - See AppViewManager. - - - - - - diff --git a/public/docs/js/latest/api/core/ApplicationRef-class.jade b/public/docs/js/latest/api/core/ApplicationRef-class.jade deleted file mode 100644 index cd1eef6bfb..0000000000 --- a/public/docs/js/latest/api/core/ApplicationRef-class.jade +++ /dev/null @@ -1,78 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/application_ref.ts (line 3) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(hostComponent: ComponentRef, hostComponentType: Type, injector: Injector) - - :markdown - - - - - - .l-sub-section - h3 hostComponentType - - - :markdown - Returns the current ComponentMetadata type. - - - - - - - - .l-sub-section - h3 hostComponent - - - :markdown - Returns the current ComponentMetadata instance. - - - - - - - - .l-sub-section - h3 dispose - - - pre.prettyprint - code. - dispose() - - :markdown - Dispose (un-load) the application. - - - - - - - - .l-sub-section - h3 injector - - - :markdown - Returns the root application Injector. - - - - - - diff --git a/public/docs/js/latest/api/core/Compiler-class.jade b/public/docs/js/latest/api/core/Compiler-class.jade deleted file mode 100644 index e3cc96d6b1..0000000000 --- a/public/docs/js/latest/api/core/Compiler-class.jade +++ /dev/null @@ -1,48 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/compiler.ts (line 71) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_directiveResolver: DirectiveResolver, _pipeResolver: PipeResolver, _defaultPipes: Type[], _compilerCache: CompilerCache, _viewResolver: ViewResolver, _componentUrlMapper: ComponentUrlMapper, _urlResolver: UrlResolver, _render: RenderCompiler, _protoViewFactory: ProtoViewFactory, appUrl: AppRootUrl) - - :markdown - - - - - - .l-sub-section - h3 compileInHost - - - pre.prettyprint - code. - compileInHost(componentTypeOrBinding: Type | Binding) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/core/ComponentRef-class.jade b/public/docs/js/latest/api/core/ComponentRef-class.jade deleted file mode 100644 index 7577e0bcdf..0000000000 --- a/public/docs/js/latest/api/core/ComponentRef-class.jade +++ /dev/null @@ -1,78 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 7) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(location: ElementRef, instance: any, _dispose: () => void) - - :markdown - - - - - - .l-sub-section - h3 location - - - :markdown - Location of the component host element. - - - - - - - - .l-sub-section - h3 instance - - - :markdown - Instance of component. - - - - - - - - .l-sub-section - h3 hostView - - - :markdown - Returns the host ViewRef. - - - - - - - - .l-sub-section - h3 dispose - - - pre.prettyprint - code. - dispose() - - :markdown - Dispose of the component instance. - - - - - - diff --git a/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade b/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade deleted file mode 100644 index f5f41198ae..0000000000 --- a/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade +++ /dev/null @@ -1,38 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/component_url_mapper.ts (line 3) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 getUrl - - - pre.prettyprint - code. - getUrl(component: Type) - - :markdown - Returns the base URL to the component source file. - The returned URL could be: - - an absolute URL, - - a path relative to the application - - - - - - diff --git a/public/docs/js/latest/api/core/DirectiveResolver-class.jade b/public/docs/js/latest/api/core/DirectiveResolver-class.jade deleted file mode 100644 index 2faa655ce2..0000000000 --- a/public/docs/js/latest/api/core/DirectiveResolver-class.jade +++ /dev/null @@ -1,35 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/directive_resolver.ts (line 4) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 resolve - - - pre.prettyprint - code. - resolve(type: Type) - - :markdown - Return DirectiveMetadata for a given `Type`. - - - - - - diff --git a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade b/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade deleted file mode 100644 index 7481839f8b..0000000000 --- a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade +++ /dev/null @@ -1,218 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 42) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_compiler: Compiler, _viewManager: AppViewManager) - - :markdown - - - - - - - .l-sub-section - h3 loadAsRoot - - - pre.prettyprint - code. - loadAsRoot(typeOrBinding: Type | Binding, overrideSelector: string, injector: Injector) - - :markdown - Loads a root component that is placed at the first element that matches the component's - selector. - - - `typeOrBinding` `Type` \ Binding - representing the component to load. - - `overrideSelector` (optional) selector to load the component at (or use - `@Component.selector`) The selector can be anywhere (i.e. outside the current component.) - - `injector` Injector - optional injector to use for the component. - - The loaded component receives injection normally as a hosted view. - - - - - ``` - @ng.Component({ - selector: 'child-component' - }) - @ng.View({ - template: 'Child' - }) - class ChildComponent { - } - - - - @ng.Component({ - selector: 'my-app' - }) - @ng.View({ - template: ` - Parent () - ` - }) - class MyApp { - constructor(dynamicComponentLoader: ng.DynamicComponentLoader, injector: ng.Injector) { - dynamicComponentLoader.loadAsRoot(ChildComponent, '#child', injector); - } - } - - ng.bootstrap(MyApp); - ``` - - Resulting DOM: - - ``` - - Parent ( - - Child - - ) - - ``` - - - - - - - - .l-sub-section - h3 loadIntoLocation - - - pre.prettyprint - code. - loadIntoLocation(typeOrBinding: Type | Binding, hostLocation: ElementRef, anchorName: string, bindings?: ResolvedBinding[]) - - :markdown - Loads a component into the component view of the provided ElementRef next to the element - with the given name. - - The loaded component receives injection normally as a hosted view. - - - - ``` - @ng.Component({ - selector: 'child-component' - }) - @ng.View({ - template: 'Child' - }) - class ChildComponent { - } - - - @ng.Component({ - selector: 'my-app' - }) - @ng.View({ - template: ` - Parent (
) - ` - }) - class MyApp { - constructor(dynamicComponentLoader: ng.DynamicComponentLoader, elementRef: ng.ElementRef) { - dynamicComponentLoader.loadIntoLocation(ChildComponent, elementRef, 'child'); - } - } - - ng.bootstrap(MyApp); - ``` - - Resulting DOM: - - ``` - - Parent ( -
- Child - ) -
- ``` - - - - - - - - .l-sub-section - h3 loadNextToLocation - - - pre.prettyprint - code. - loadNextToLocation(typeOrBinding: Type | Binding, location: ElementRef, bindings?: ResolvedBinding[]) - - :markdown - Loads a component next to the provided ElementRef. - - The loaded component receives injection normally as a hosted view. - - - - - ``` - @ng.Component({ - selector: 'child-component' - }) - @ng.View({ - template: 'Child' - }) - class ChildComponent { - } - - - @ng.Component({ - selector: 'my-app' - }) - @ng.View({ - template: `Parent` - }) - class MyApp { - constructor(dynamicComponentLoader: ng.DynamicComponentLoader, elementRef: ng.ElementRef) { - dynamicComponentLoader.loadIntoLocation(ChildComponent, elementRef, 'child'); - } - } - - ng.bootstrap(MyApp); - ``` - - Resulting DOM: - - ``` - Parent - Child - ``` - - - - - - diff --git a/public/docs/js/latest/api/core/ElementRef-class.jade b/public/docs/js/latest/api/core/ElementRef-class.jade deleted file mode 100644 index 43523a0046..0000000000 --- a/public/docs/js/latest/api/core/ElementRef-class.jade +++ /dev/null @@ -1,101 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/element_ref.ts (line 3) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(parentView: ViewRef, boundElementIndex: number, renderBoundElementIndex: number, _renderer: Renderer) - - :markdown - - - - - - - .l-sub-section - h3 parentView - - - :markdown - Reference to the ViewRef where the `ElementRef` is inside of. - - - - - - - - .l-sub-section - h3 boundElementIndex - - - :markdown - Index of the element inside the ViewRef. - - This is used internally by the Angular framework to locate elements. - - - - - - - - .l-sub-section - h3 renderBoundElementIndex - - - :markdown - Index of the element inside the `RenderViewRef`. - - This is used internally by the Angular framework to locate elements. - - - - - - - - .l-sub-section - h3 renderView - - - :markdown - - - - - - - - - - .l-sub-section - h3 nativeElement - - - :markdown - Returns the native Element implementation. - - In the browser this represents the DOM Element. - - The `nativeElement` can be used as an escape hatch when direct DOM manipulation is needed. Use - this with caution, as it creates tight coupling between your application and the Browser, which - will not work in WebWorkers. - - NOTE: This method will return null in the webworker scenario! - - - - - - diff --git a/public/docs/js/latest/api/core/EventEmitter-class.jade b/public/docs/js/latest/api/core/EventEmitter-class.jade deleted file mode 100644 index 635f060385..0000000000 --- a/public/docs/js/latest/api/core/EventEmitter-class.jade +++ /dev/null @@ -1,103 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/facade/async.ts (line 91) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 observer - - - pre.prettyprint - code. - observer(generator: any) - - :markdown - - - - - - - - .l-sub-section - h3 toRx - - - pre.prettyprint - code. - toRx() - - :markdown - - - - - - - - .l-sub-section - h3 next - - - pre.prettyprint - code. - next(value: any) - - :markdown - - - - - - - - .l-sub-section - h3 throw - - - pre.prettyprint - code. - throw(error: any) - - :markdown - - - - - - - - .l-sub-section - h3 return - - - pre.prettyprint - code. - return(value?: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/core/HostViewRef-interface.jade b/public/docs/js/latest/api/core/HostViewRef-interface.jade deleted file mode 100644 index 3f0fa82a00..0000000000 --- a/public/docs/js/latest/api/core/HostViewRef-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/view_ref.ts (line 13) - -:markdown - Define angular core API here. diff --git a/public/docs/js/latest/api/core/LifeCycle-class.jade b/public/docs/js/latest/api/core/LifeCycle-class.jade deleted file mode 100644 index 7c78b9226a..0000000000 --- a/public/docs/js/latest/api/core/LifeCycle-class.jade +++ /dev/null @@ -1,61 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/life_cycle/life_cycle.ts (line 5) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(changeDetector?: ChangeDetector, enforceNoNewChanges?: boolean) - - :markdown - - - - - - - .l-sub-section - h3 tick - - - pre.prettyprint - code. - tick() - - :markdown - Invoke this method to explicitly process change detection and its side-effects. - - In development mode, `tick()` also performs a second change detection cycle to ensure that no - further - changes are detected. If additional changes are picked up during this second cycle, bindings - in - the app have - side-effects that cannot be resolved in a single change detection pass. In this case, Angular - throws an error, - since an Angular application can only have one change detection pass during which all change - detection must - complete. - - - - - - diff --git a/public/docs/js/latest/api/core/NgZone-class.jade b/public/docs/js/latest/api/core/NgZone-class.jade deleted file mode 100644 index 31590e7ab9..0000000000 --- a/public/docs/js/latest/api/core/NgZone-class.jade +++ /dev/null @@ -1,162 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/zone/ng_zone.ts (line 6) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({enableLongStackTrace}: any) - - :markdown - Associates with this - - - a "root" zone, which the one that instantiated this. - - an "inner" zone, which is a child of the root zone. - - - - - - .l-sub-section - h3 overrideOnTurnStart - - - pre.prettyprint - code. - overrideOnTurnStart(onTurnStartFn: Function) - - :markdown - Sets the zone hook that is called just before Angular event turn starts. - It is called once per browser event. - - - - - - - - .l-sub-section - h3 overrideOnTurnDone - - - pre.prettyprint - code. - overrideOnTurnDone(onTurnDoneFn: Function) - - :markdown - Sets the zone hook that is called immediately after Angular processes - all pending microtasks. - - - - - - - - .l-sub-section - h3 overrideOnEventDone - - - pre.prettyprint - code. - overrideOnEventDone(onEventDoneFn: Function, opt_waitForAsync: boolean) - - :markdown - Sets the zone hook that is called immediately after the last turn in - an event completes. At this point Angular will no longer attempt to - sync the UI. Any changes to the data model will not be reflected in the - DOM. `onEventDoneFn` is executed outside Angular zone. - - This hook is useful for validating application state (e.g. in a test). - - - - - - - - .l-sub-section - h3 overrideOnErrorHandler - - - pre.prettyprint - code. - overrideOnErrorHandler(errorHandlingFn: Function) - - :markdown - Sets the zone hook that is called when an error is uncaught in the - Angular zone. The first argument is the error. The second argument is - the stack trace. - - - - - - - - .l-sub-section - h3 run - - - pre.prettyprint - code. - run(fn: () => any) - - :markdown - Runs `fn` in the inner zone and returns whatever it returns. - - In a typical app where the inner zone is the Angular zone, this allows one to make use of the - Angular's auto digest mechanism. - - ``` - var zone: NgZone = [ref to the application zone]; - - zone.run(() => { - // the change detection will run after this function and the microtasks it enqueues have - executed. - }); - ``` - - - - - - - - .l-sub-section - h3 runOutsideAngular - - - pre.prettyprint - code. - runOutsideAngular(fn: () => any) - - :markdown - Runs `fn` in the outer zone and returns whatever it returns. - - In a typical app where the inner zone is the Angular zone, this allows one to escape Angular's - auto-digest mechanism. - - ``` - var zone: NgZone = [ref to the application zone]; - - zone.runOutsideAngular(() => { - element.onClick(() => { - // Clicking on the element would not trigger the change detection - }); - }); - ``` - - - - - - diff --git a/public/docs/js/latest/api/core/Observable-class.jade b/public/docs/js/latest/api/core/Observable-class.jade deleted file mode 100644 index 54c7c1d6fe..0000000000 --- a/public/docs/js/latest/api/core/Observable-class.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/facade/async.ts (line 86) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 observer - - - pre.prettyprint - code. - observer(generator: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/core/ProtoViewRef-class.jade b/public/docs/js/latest/api/core/ProtoViewRef-class.jade deleted file mode 100644 index 18a6d8985f..0000000000 --- a/public/docs/js/latest/api/core/ProtoViewRef-class.jade +++ /dev/null @@ -1,22 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/view_ref.ts (line 91) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_protoView:AppProtoView) - - :markdown - - - - diff --git a/public/docs/js/latest/api/core/QueryList-class.jade b/public/docs/js/latest/api/core/QueryList-class.jade deleted file mode 100644 index 60386d5d9e..0000000000 --- a/public/docs/js/latest/api/core/QueryList-class.jade +++ /dev/null @@ -1,156 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/query_list.ts (line 1) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 reset - - - pre.prettyprint - code. - reset(newList: T[]) - - :markdown - - - - - - - - .l-sub-section - h3 add - - - pre.prettyprint - code. - add(obj: T) - - :markdown - - - - - - - - .l-sub-section - h3 fireCallbacks - - - pre.prettyprint - code. - fireCallbacks() - - :markdown - - - - - - - - .l-sub-section - h3 onChange - - - pre.prettyprint - code. - onChange(callback: () => void) - - :markdown - - - - - - - - .l-sub-section - h3 removeCallback - - - pre.prettyprint - code. - removeCallback(callback: () => void) - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - - - .l-sub-section - h3 length - - - :markdown - - - - - - - - .l-sub-section - h3 first - - - :markdown - - - - - - - - .l-sub-section - h3 last - - - :markdown - - - - - - - - .l-sub-section - h3 map - - - pre.prettyprint - code. - map(fn: (item: T) => U) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/core/TemplateRef-class.jade b/public/docs/js/latest/api/core/TemplateRef-class.jade deleted file mode 100644 index 2d4bb2b6ac..0000000000 --- a/public/docs/js/latest/api/core/TemplateRef-class.jade +++ /dev/null @@ -1,65 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/template_ref.ts (line 3) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(elementRef: ElementRef) - - :markdown - - - - - - - .l-sub-section - h3 elementRef - - - :markdown - The location of the template - - - - - - - - .l-sub-section - h3 protoViewRef - - - :markdown - - - - - - - - .l-sub-section - h3 hasLocal - - - pre.prettyprint - code. - hasLocal(name: string) - - :markdown - Whether this template has a local variable with the given name - - - - - - diff --git a/public/docs/js/latest/api/core/Type-interface.jade b/public/docs/js/latest/api/core/Type-interface.jade deleted file mode 100644 index de82d1ef44..0000000000 --- a/public/docs/js/latest/api/core/Type-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/facade/lang.ts (line 23) - -:markdown - Define angular core API here. diff --git a/public/docs/js/latest/api/core/UrlResolver-class.jade b/public/docs/js/latest/api/core/UrlResolver-class.jade deleted file mode 100644 index 7047044ae4..0000000000 --- a/public/docs/js/latest/api/core/UrlResolver-class.jade +++ /dev/null @@ -1,39 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/services/url_resolver.ts (line 9) - -:markdown - Define angular core API here. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 resolve - - - pre.prettyprint - code. - resolve(baseUrl: string, url: string) - - :markdown - Resolves the `url` given the `baseUrl`: - - when the `url` is null, the `baseUrl` is returned, - - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of - `baseUrl` and `url`, - - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is - returned as is (ignoring the `baseUrl`) - - - - - diff --git a/public/docs/js/latest/api/core/ViewContainerRef-class.jade b/public/docs/js/latest/api/core/ViewContainerRef-class.jade deleted file mode 100644 index 53d27a4212..0000000000 --- a/public/docs/js/latest/api/core/ViewContainerRef-class.jade +++ /dev/null @@ -1,213 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/view_container_ref.ts (line 10) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(viewManager:AppViewManager, element: ElementRef) - - :markdown - - - - - - .l-sub-section - h3 viewManager - - - :markdown - - - - - - - - .l-sub-section - h3 element - - - :markdown - - - - - - - - .l-sub-section - h3 clear - - - pre.prettyprint - code. - clear() - - :markdown - Remove all ViewRefs at current location. - - - - - - - - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(index: number) - - :markdown - Return a ViewRef at specific index. - - - - - - - - .l-sub-section - h3 length - - - :markdown - Returns number of ViewRefs currently attached at this location. - - - - - - - - .l-sub-section - h3 createEmbeddedView - - - pre.prettyprint - code. - createEmbeddedView(templateRef: TemplateRef, atIndex?: number) - - :markdown - Create and insert a ViewRef into the view-container. - - - `protoViewRef` (optional) ProtoViewRef - The `ProtoView` to use for creating - `View` to be inserted at this location. If `ViewContainer` is created at a location - of inline template, then `protoViewRef` is the `ProtoView` of the template. - - `atIndex` (optional) `number` - location of insertion point. (Or at the end if unspecified.) - - `context` (optional) ElementRef - Context (for expression evaluation) from the - ElementRef location. (Or current context if unspecified.) - - `bindings` (optional) Array of ResolvedBinding - Used for configuring - `ElementInjector`. - - Returns newly created ViewRef. - - - - - - - - .l-sub-section - h3 createHostView - - - pre.prettyprint - code. - createHostView(protoViewRef?: ProtoViewRef, atIndex?: number, dynamicallyCreatedBindings?: ResolvedBinding[]) - - :markdown - - - - - - - - .l-sub-section - h3 insert - - - pre.prettyprint - code. - insert(viewRef: ViewRef, atIndex?: number) - - :markdown - Insert a ViewRef at specefic index. - - The index is location at which the ViewRef should be attached. If omitted it is - inserted at the end. - - Returns the inserted ViewRef. - - - - - - - - .l-sub-section - h3 indexOf - - - pre.prettyprint - code. - indexOf(viewRef: ViewRef) - - :markdown - Return the index of already inserted ViewRef. - - - - - - - - .l-sub-section - h3 remove - - - pre.prettyprint - code. - remove(atIndex?: number) - - :markdown - Remove a ViewRef at specific index. - - If the index is omitted last ViewRef is removed. - - - - - - - - .l-sub-section - h3 detach - - - pre.prettyprint - code. - detach(atIndex?: number) - - :markdown - The method can be used together with insert to implement a view move, i.e. - moving the dom nodes while the directives in the view stay intact. - - - - - - diff --git a/public/docs/js/latest/api/core/ViewRef-class.jade b/public/docs/js/latest/api/core/ViewRef-class.jade deleted file mode 100644 index 04578f86a1..0000000000 --- a/public/docs/js/latest/api/core/ViewRef-class.jade +++ /dev/null @@ -1,68 +0,0 @@ - -p.location-badge. - exported from angular2/core - defined in angular2/src/core/compiler/view_ref.ts (line 15) - -:markdown - Define angular core API here. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_view:AppView) - - :markdown - - - - - - .l-sub-section - h3 render - - - :markdown - Return `RenderViewRef` - - - - - - - - .l-sub-section - h3 renderFragment - - - :markdown - Return `RenderFragmentRef` - - - - - - - - .l-sub-section - h3 setLocal - - - pre.prettyprint - code. - setLocal(contextName: string, value: any) - - :markdown - Set local variable in a view. - - - `contextName` - Name of the local variable in a view. - - `value` - Value for the local variable in a view. - - - - - - diff --git a/public/docs/js/latest/api/core/_data.json b/public/docs/js/latest/api/core/_data.json deleted file mode 100644 index 8a65dc6fc4..0000000000 --- a/public/docs/js/latest/api/core/_data.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "index" : { - "title" : "Core", - "intro" : "Define angular core API here." - }, - - "APP_COMPONENT-const" : { - "title" : "APP_COMPONENT", - "varType" : "OpaqueToken" - }, - - "Type-interface" : { - "title" : "Type" - }, - - "ApplicationRef-class" : { - "title" : "ApplicationRef" - }, - - "AppRootUrl-class" : { - "title" : "AppRootUrl" - }, - - "UrlResolver-class" : { - "title" : "UrlResolver" - }, - - "ComponentUrlMapper-class" : { - "title" : "ComponentUrlMapper" - }, - - "DirectiveResolver-class" : { - "title" : "DirectiveResolver" - }, - - "Compiler-class" : { - "title" : "Compiler" - }, - - "AppViewManager-class" : { - "title" : "AppViewManager" - }, - - "QueryList-class" : { - "title" : "QueryList" - }, - - "DynamicComponentLoader-class" : { - "title" : "DynamicComponentLoader" - }, - - "LifeCycle-class" : { - "title" : "LifeCycle" - }, - - "ElementRef-class" : { - "title" : "ElementRef" - }, - - "TemplateRef-class" : { - "title" : "TemplateRef" - }, - - "ViewRef-class" : { - "title" : "ViewRef" - }, - - "HostViewRef-interface" : { - "title" : "HostViewRef" - }, - - "ProtoViewRef-class" : { - "title" : "ProtoViewRef" - }, - - "ViewContainerRef-class" : { - "title" : "ViewContainerRef" - }, - - "ComponentRef-class" : { - "title" : "ComponentRef" - }, - - "NgZone-class" : { - "title" : "NgZone" - }, - - "Observable-class" : { - "title" : "Observable" - }, - - "EventEmitter-class" : { - "title" : "EventEmitter" - } -} diff --git a/public/docs/js/latest/api/core/index.jade b/public/docs/js/latest/api/core/index.jade deleted file mode 100644 index fbdf9dcfa5..0000000000 --- a/public/docs/js/latest/api/core/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/core.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/di/AbstractBindingError-class.jade b/public/docs/js/latest/api/di/AbstractBindingError-class.jade deleted file mode 100644 index b653b1e3f8..0000000000 --- a/public/docs/js/latest/api/di/AbstractBindingError-class.jade +++ /dev/null @@ -1,127 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/exceptions.ts (line 27) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(injector: Injector, key: Key, constructResolvingMessage: Function, originalException?: any, originalStack?: any) - - :markdown - - - - - - - .l-sub-section - h3 name - - - :markdown - - - - - - - - .l-sub-section - h3 message - - - :markdown - - - - - - - - .l-sub-section - h3 keys - - - :markdown - - - - - - - - .l-sub-section - h3 injectors - - - :markdown - - - - - - - - .l-sub-section - h3 constructResolvingMessage - - - :markdown - - - - - - - - .l-sub-section - h3 addKey - - - pre.prettyprint - code. - addKey(injector: Injector, key: Key) - - :markdown - - - - - - - - .l-sub-section - h3 context - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/Binding-class.jade b/public/docs/js/latest/api/di/Binding-class.jade deleted file mode 100644 index e9deeb0611..0000000000 --- a/public/docs/js/latest/api/di/Binding-class.jade +++ /dev/null @@ -1,226 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/binding.ts (line 36) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(token: any, {toClass, toValue, toAlias, toFactory, deps}: - {toClass?: Type, toValue?: any, toAlias?: any, toFactory?: Function, deps?: any[]}) - - :markdown - - - - - - - .l-sub-section - h3 token - - - :markdown - Token used when retrieving this binding. Usually the `Type`. - - - - - - - - .l-sub-section - h3 toClass - - - :markdown - Binds an interface to an implementation / subclass. - - - - Becuse `toAlias` and `toClass` are often confused, the example contains both use cases for easy - comparison. - - ```javascript - - class Vehicle {} - - class Car extends Vehicle {} - - var injectorClass = Injector.resolveAndCreate([ - Car, - new Binding(Vehicle, { toClass: Car }) - ]); - var injectorAlias = Injector.resolveAndCreate([ - Car, - new Binding(Vehicle, { toAlias: Car }) - ]); - - expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car)); - expect(injectorClass.get(Vehicle) instanceof Car).toBe(true); - - expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car)); - expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true); - ``` - - - - - - - - .l-sub-section - h3 toValue - - - :markdown - Binds a key to a value. - - - - ```javascript - var injector = Injector.resolveAndCreate([ - new Binding(String, { toValue: 'Hello' }) - ]); - - expect(injector.get(String)).toEqual('Hello'); - ``` - - - - - - - - .l-sub-section - h3 toAlias - - - :markdown - Binds a key to the alias for an existing key. - - An alias means that Injector returns the same instance as if the alias token was used. - This is in contrast to `toClass` where a separate instance of `toClass` is returned. - - - - Becuse `toAlias` and `toClass` are often confused the example contains both use cases for easy - comparison. - - ```javascript - - class Vehicle {} - - class Car extends Vehicle {} - - var injectorAlias = Injector.resolveAndCreate([ - Car, - new Binding(Vehicle, { toAlias: Car }) - ]); - var injectorClass = Injector.resolveAndCreate([ - Car, - new Binding(Vehicle, { toClass: Car }) - ]); - - expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car)); - expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true); - - expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car)); - expect(injectorClass.get(Vehicle) instanceof Car).toBe(true); - ``` - - - - - - - - .l-sub-section - h3 toFactory - - - :markdown - Binds a key to a function which computes the value. - - - - ```javascript - var injector = Injector.resolveAndCreate([ - new Binding(Number, { toFactory: () => { return 1+2; }}), - new Binding(String, { toFactory: (value) => { return "Value: " + value; }, - dependencies: [Number] }) - ]); - - expect(injector.get(Number)).toEqual(3); - expect(injector.get(String)).toEqual('Value: 3'); - ``` - - - - - - - - .l-sub-section - h3 dependencies - - - :markdown - Used in conjunction with `toFactory` and specifies a set of dependencies - (as `token`s) which should be injected into the factory function. - - - - ```javascript - var injector = Injector.resolveAndCreate([ - new Binding(Number, { toFactory: () => { return 1+2; }}), - new Binding(String, { toFactory: (value) => { return "Value: " + value; }, - dependencies: [Number] }) - ]); - - expect(injector.get(Number)).toEqual(3); - expect(injector.get(String)).toEqual('Value: 3'); - ``` - - - - - - - - .l-sub-section - h3 resolve - - - pre.prettyprint - code. - resolve() - - :markdown - Converts the Binding into ResolvedBinding. - - Injector internally only uses ResolvedBinding, Binding contains - convenience binding syntax. - - - - - - diff --git a/public/docs/js/latest/api/di/BindingBuilder-class.jade b/public/docs/js/latest/api/di/BindingBuilder-class.jade deleted file mode 100644 index 9bcf3f0983..0000000000 --- a/public/docs/js/latest/api/di/BindingBuilder-class.jade +++ /dev/null @@ -1,182 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/binding.ts (line 258) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(token: any) - - :markdown - - - - - - - .l-sub-section - h3 token - - - :markdown - - - - - - - - .l-sub-section - h3 toClass - - - pre.prettyprint - code. - toClass(type: Type) - - :markdown - Binds an interface to an implementation / subclass. - - - - Because `toAlias` and `toClass` are often confused, the example contains both use cases for - easy comparison. - - ```javascript - - class Vehicle {} - - class Car extends Vehicle {} - - var injectorClass = Injector.resolveAndCreate([ - Car, - bind(Vehicle).toClass(Car) - ]); - var injectorAlias = Injector.resolveAndCreate([ - Car, - bind(Vehicle).toAlias(Car) - ]); - - expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car)); - expect(injectorClass.get(Vehicle) instanceof Car).toBe(true); - - expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car)); - expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true); - ``` - - - - - - - - .l-sub-section - h3 toValue - - - pre.prettyprint - code. - toValue(value: any) - - :markdown - Binds a key to a value. - - - - ```javascript - var injector = Injector.resolveAndCreate([ - bind(String).toValue('Hello') - ]); - - expect(injector.get(String)).toEqual('Hello'); - ``` - - - - - - - - .l-sub-section - h3 toAlias - - - pre.prettyprint - code. - toAlias(aliasToken: /*Type*/ any) - - :markdown - Binds a key to the alias for an existing key. - - An alias means that we will return the same instance as if the alias token was used. (This is - in contrast to `toClass` where a separate instance of `toClass` will be returned.) - - - - Becuse `toAlias` and `toClass` are often confused, the example contains both use cases for easy - comparison. - - ```javascript - - class Vehicle {} - - class Car extends Vehicle {} - - var injectorAlias = Injector.resolveAndCreate([ - Car, - bind(Vehicle).toAlias(Car) - ]); - var injectorClass = Injector.resolveAndCreate([ - Car, - bind(Vehicle).toClass(Car) - ]); - - expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car)); - expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true); - - expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car)); - expect(injectorClass.get(Vehicle) instanceof Car).toBe(true); - ``` - - - - - - - - .l-sub-section - h3 toFactory - - - pre.prettyprint - code. - toFactory(factoryFunction: Function, dependencies?: any[]) - - :markdown - Binds a key to a function which computes the value. - - - - ```javascript - var injector = Injector.resolveAndCreate([ - bind(Number).toFactory(() => { return 1+2; }), - bind(String).toFactory((v) => { return "Value: " + v; }, [Number]) - ]); - - expect(injector.get(Number)).toEqual(3); - expect(injector.get(String)).toEqual('Value: 3'); - ``` - - - - - - diff --git a/public/docs/js/latest/api/di/BindingWithVisibility-class.jade b/public/docs/js/latest/api/di/BindingWithVisibility-class.jade deleted file mode 100644 index 19e7eef5a0..0000000000 --- a/public/docs/js/latest/api/di/BindingWithVisibility-class.jade +++ /dev/null @@ -1,63 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/injector.ts (line 360) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(binding: ResolvedBinding, visibility: Visibility) - - :markdown - - - - - - - .l-sub-section - h3 binding - - - :markdown - - - - - - - - .l-sub-section - h3 visibility - - - :markdown - - - - - - - - .l-sub-section - h3 getKeyId - - - pre.prettyprint - code. - getKeyId() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/CyclicDependencyError-class.jade b/public/docs/js/latest/api/di/CyclicDependencyError-class.jade deleted file mode 100644 index 2b4fa1d71e..0000000000 --- a/public/docs/js/latest/api/di/CyclicDependencyError-class.jade +++ /dev/null @@ -1,23 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/exceptions.ts (line 71) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(injector: Injector, key: Key) - - :markdown - - - - - diff --git a/public/docs/js/latest/api/di/Dependency-class.jade b/public/docs/js/latest/api/di/Dependency-class.jade deleted file mode 100644 index b998772c38..0000000000 --- a/public/docs/js/latest/api/di/Dependency-class.jade +++ /dev/null @@ -1,83 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/binding.ts (line 24) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(key: Key, optional: boolean, lowerBoundVisibility: any, upperBoundVisibility: any, properties: any[]) - - :markdown - - - - - - - .l-sub-section - h3 key - - - :markdown - - - - - - - - .l-sub-section - h3 optional - - - :markdown - - - - - - - - .l-sub-section - h3 lowerBoundVisibility - - - :markdown - - - - - - - - .l-sub-section - h3 upperBoundVisibility - - - :markdown - - - - - - - - .l-sub-section - h3 properties - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/DependencyMetadata-class.jade b/public/docs/js/latest/api/di/DependencyMetadata-class.jade deleted file mode 100644 index aaaf9b3738..0000000000 --- a/public/docs/js/latest/api/di/DependencyMetadata-class.jade +++ /dev/null @@ -1,30 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/metadata.ts (line 34) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 token - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/DependencyProvider-interface.jade b/public/docs/js/latest/api/di/DependencyProvider-interface.jade deleted file mode 100644 index c6b49e7abc..0000000000 --- a/public/docs/js/latest/api/di/DependencyProvider-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/injector.ts (line 366) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 getDependency - - - pre.prettyprint - code. - getDependency(injector: Injector, binding: ResolvedBinding, dependency: Dependency) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/ForwardRefFn-interface.jade b/public/docs/js/latest/api/di/ForwardRefFn-interface.jade deleted file mode 100644 index 7cbf495819..0000000000 --- a/public/docs/js/latest/api/di/ForwardRefFn-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/forward_ref.ts (line 1) - -:markdown - The `di` module provides dependency injection container services. diff --git a/public/docs/js/latest/api/di/Host-var.jade b/public/docs/js/latest/api/di/Host-var.jade deleted file mode 100644 index 993ebf8401..0000000000 --- a/public/docs/js/latest/api/di/Host-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 82) - - :markdown - Factory for creating HostMetadata. - - - diff --git a/public/docs/js/latest/api/di/HostFactory-interface.jade b/public/docs/js/latest/api/di/HostFactory-interface.jade deleted file mode 100644 index 3f4c84fe5a..0000000000 --- a/public/docs/js/latest/api/di/HostFactory-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 41) - -:markdown - The `di` module provides dependency injection container services. diff --git a/public/docs/js/latest/api/di/HostMetadata-class.jade b/public/docs/js/latest/api/di/HostMetadata-class.jade deleted file mode 100644 index 832305c57e..0000000000 --- a/public/docs/js/latest/api/di/HostMetadata-class.jade +++ /dev/null @@ -1,34 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/metadata.ts (line 138) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/Inject-var.jade b/public/docs/js/latest/api/di/Inject-var.jade deleted file mode 100644 index 6645c6158f..0000000000 --- a/public/docs/js/latest/api/di/Inject-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 62) - - :markdown - Factory for creating InjectMetadata. - - - diff --git a/public/docs/js/latest/api/di/InjectFactory-interface.jade b/public/docs/js/latest/api/di/InjectFactory-interface.jade deleted file mode 100644 index 3d14c9ee9e..0000000000 --- a/public/docs/js/latest/api/di/InjectFactory-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 9) - -:markdown - The `di` module provides dependency injection container services. diff --git a/public/docs/js/latest/api/di/InjectMetadata-class.jade b/public/docs/js/latest/api/di/InjectMetadata-class.jade deleted file mode 100644 index 017542f4e4..0000000000 --- a/public/docs/js/latest/api/di/InjectMetadata-class.jade +++ /dev/null @@ -1,61 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/metadata.ts (line 1) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(token: any) - - :markdown - - - - - - - .l-sub-section - h3 token - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/Injectable-var.jade b/public/docs/js/latest/api/di/Injectable-var.jade deleted file mode 100644 index 35184c99fd..0000000000 --- a/public/docs/js/latest/api/di/Injectable-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 72) - - :markdown - Factory for creating InjectableMetadata. - - - diff --git a/public/docs/js/latest/api/di/InjectableFactory-interface.jade b/public/docs/js/latest/api/di/InjectableFactory-interface.jade deleted file mode 100644 index 05fac69c29..0000000000 --- a/public/docs/js/latest/api/di/InjectableFactory-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 25) - -:markdown - The `di` module provides dependency injection container services. diff --git a/public/docs/js/latest/api/di/InjectableMetadata-class.jade b/public/docs/js/latest/api/di/InjectableMetadata-class.jade deleted file mode 100644 index b5b85c6ee9..0000000000 --- a/public/docs/js/latest/api/di/InjectableMetadata-class.jade +++ /dev/null @@ -1,33 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/metadata.ts (line 65) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - diff --git a/public/docs/js/latest/api/di/Injector-class.jade b/public/docs/js/latest/api/di/Injector-class.jade deleted file mode 100644 index 572216364b..0000000000 --- a/public/docs/js/latest/api/di/Injector-class.jade +++ /dev/null @@ -1,214 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/injector.ts (line 373) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_proto: ProtoInjector, _parent?: Injector, _depProvider?: DependencyProvider, _debugContext?: Function) - - :markdown - - - - - - - .l-sub-section - h3 debugContext - - - pre.prettyprint - code. - debugContext() - - :markdown - Returns debug information about the injector. - - This information is included into exceptions thrown by the injector. - - - - - - - - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(token: any) - - :markdown - Retrieves an instance from the injector. - - - - - - - .l-sub-section - h3 getOptional - - - pre.prettyprint - code. - getOptional(token: any) - - :markdown - Retrieves an instance from the injector. - - - - - - - .l-sub-section - h3 getAt - - - pre.prettyprint - code. - getAt(index: number) - - :markdown - Retrieves an instance from the injector. - - - - - - - .l-sub-section - h3 parent - - - :markdown - Direct parent of this injector. - - - - - - - - .l-sub-section - h3 internalStrategy - - - :markdown - Internal. Do not use. - - We return `any` not to export the InjectorStrategy type. - - - - - - - - .l-sub-section - h3 resolveAndCreateChild - - - pre.prettyprint - code. - resolveAndCreateChild(bindings: Array<Type | Binding | any[]>, depProvider?: DependencyProvider) - - :markdown - Creates a child injector and loads a new set of bindings into it. - - A resolution is a process of flattening multiple nested lists and converting individual - bindings into a list of ResolvedBindings. The resolution can be cached by `resolve` - for the Injector for performance-sensitive code. - - - - - - - .l-sub-section - h3 createChildFromResolved - - - pre.prettyprint - code. - createChildFromResolved(bindings: ResolvedBinding[], depProvider?: DependencyProvider) - - :markdown - Creates a child injector and loads a new set of ResolvedBindings into it. - - - - - - - .l-sub-section - h3 resolveAndInstantiate - - - pre.prettyprint - code. - resolveAndInstantiate(binding: Type | Binding) - - :markdown - Resolves a binding and instantiates an object in the context of the injector. - - - - - - - .l-sub-section - h3 instantiateResolved - - - pre.prettyprint - code. - instantiateResolved(binding: ResolvedBinding) - - :markdown - Instantiates an object using a resolved bindin in the context of the injector. - - - - - - - .l-sub-section - h3 displayName - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/InstantiationError-class.jade b/public/docs/js/latest/api/di/InstantiationError-class.jade deleted file mode 100644 index fef91ce781..0000000000 --- a/public/docs/js/latest/api/di/InstantiationError-class.jade +++ /dev/null @@ -1,35 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/exceptions.ts (line 95) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(injector: Injector, originalException: any, originalStack: any, key: Key) - - :markdown - - - - - - - .l-sub-section - h3 causeKey - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/InvalidBindingError-class.jade b/public/docs/js/latest/api/di/InvalidBindingError-class.jade deleted file mode 100644 index c7d184d375..0000000000 --- a/public/docs/js/latest/api/di/InvalidBindingError-class.jade +++ /dev/null @@ -1,51 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/exceptions.ts (line 113) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(binding: any) - - :markdown - - - - - - - .l-sub-section - h3 message - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/Key-class.jade b/public/docs/js/latest/api/di/Key-class.jade deleted file mode 100644 index 7b8261066c..0000000000 --- a/public/docs/js/latest/api/di/Key-class.jade +++ /dev/null @@ -1,59 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/key.ts (line 6) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(token: Object, id: number) - - :markdown - - - - - - - .l-sub-section - h3 token - - - :markdown - - - - - - - - .l-sub-section - h3 id - - - :markdown - - - - - - - - .l-sub-section - h3 displayName - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/KeyRegistry-class.jade b/public/docs/js/latest/api/di/KeyRegistry-class.jade deleted file mode 100644 index 44f98a51af..0000000000 --- a/public/docs/js/latest/api/di/KeyRegistry-class.jade +++ /dev/null @@ -1,36 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/key.ts (line 36) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(token: Object) - - :markdown - - - - - - - - .l-sub-section - h3 numberOfKeys - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/NoAnnotationError-class.jade b/public/docs/js/latest/api/di/NoAnnotationError-class.jade deleted file mode 100644 index 1151ad21de..0000000000 --- a/public/docs/js/latest/api/di/NoAnnotationError-class.jade +++ /dev/null @@ -1,63 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/exceptions.ts (line 128) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(typeOrFunc: any, params: any[][]) - - :markdown - - - - - - - .l-sub-section - h3 name - - - :markdown - - - - - - - - .l-sub-section - h3 message - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/NoBindingError-class.jade b/public/docs/js/latest/api/di/NoBindingError-class.jade deleted file mode 100644 index 93f93f11da..0000000000 --- a/public/docs/js/latest/api/di/NoBindingError-class.jade +++ /dev/null @@ -1,23 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/exceptions.ts (line 58) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(injector: Injector, key: Key) - - :markdown - - - - - diff --git a/public/docs/js/latest/api/di/OpaqueToken-class.jade b/public/docs/js/latest/api/di/OpaqueToken-class.jade deleted file mode 100644 index b4b20cecbe..0000000000 --- a/public/docs/js/latest/api/di/OpaqueToken-class.jade +++ /dev/null @@ -1,49 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/opaque_token.ts (line 1) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(desc: string) - - :markdown - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/Optional-var.jade b/public/docs/js/latest/api/di/Optional-var.jade deleted file mode 100644 index 8fa5e561a1..0000000000 --- a/public/docs/js/latest/api/di/Optional-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 67) - - :markdown - Factory for creating OptionalMetadata. - - - diff --git a/public/docs/js/latest/api/di/OptionalFactory-interface.jade b/public/docs/js/latest/api/di/OptionalFactory-interface.jade deleted file mode 100644 index 20d5d91aa5..0000000000 --- a/public/docs/js/latest/api/di/OptionalFactory-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 17) - -:markdown - The `di` module provides dependency injection container services. diff --git a/public/docs/js/latest/api/di/OptionalMetadata-class.jade b/public/docs/js/latest/api/di/OptionalMetadata-class.jade deleted file mode 100644 index 80a399f72e..0000000000 --- a/public/docs/js/latest/api/di/OptionalMetadata-class.jade +++ /dev/null @@ -1,34 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/metadata.ts (line 17) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/OutOfBoundsError-class.jade b/public/docs/js/latest/api/di/OutOfBoundsError-class.jade deleted file mode 100644 index 779088ee2d..0000000000 --- a/public/docs/js/latest/api/di/OutOfBoundsError-class.jade +++ /dev/null @@ -1,51 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/exceptions.ts (line 156) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(index: any) - - :markdown - - - - - - - .l-sub-section - h3 message - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/ProtoInjector-class.jade b/public/docs/js/latest/api/di/ProtoInjector-class.jade deleted file mode 100644 index a9c05c1bb6..0000000000 --- a/public/docs/js/latest/api/di/ProtoInjector-class.jade +++ /dev/null @@ -1,51 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/injector.ts (line 175) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(bwv: BindingWithVisibility[]) - - :markdown - - - - - - - .l-sub-section - h3 numberOfBindings - - - :markdown - - - - - - - - .l-sub-section - h3 getBindingAtIndex - - - pre.prettyprint - code. - getBindingAtIndex(index: number) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/ResolvedBinding-class.jade b/public/docs/js/latest/api/di/ResolvedBinding-class.jade deleted file mode 100644 index a735cc212a..0000000000 --- a/public/docs/js/latest/api/di/ResolvedBinding-class.jade +++ /dev/null @@ -1,62 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/binding.ts (line 217) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(key: Key, factory: Function, dependencies: Dependency[]) - - :markdown - - - - - - - .l-sub-section - h3 key - - - :markdown - A key, usually a `Type`. - - - - - - - - .l-sub-section - h3 factory - - - :markdown - Factory function which can return an instance of an object represented by a key. - - - - - - - - .l-sub-section - h3 dependencies - - - :markdown - Arguments (dependencies) to the `factory` function. - - - - - - diff --git a/public/docs/js/latest/api/di/Self-var.jade b/public/docs/js/latest/api/di/Self-var.jade deleted file mode 100644 index 3a720c2d25..0000000000 --- a/public/docs/js/latest/api/di/Self-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 77) - - :markdown - Factory for creating SelfMetadata. - - - diff --git a/public/docs/js/latest/api/di/SelfFactory-interface.jade b/public/docs/js/latest/api/di/SelfFactory-interface.jade deleted file mode 100644 index 609ae4354c..0000000000 --- a/public/docs/js/latest/api/di/SelfFactory-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 33) - -:markdown - The `di` module provides dependency injection container services. diff --git a/public/docs/js/latest/api/di/SelfMetadata-class.jade b/public/docs/js/latest/api/di/SelfMetadata-class.jade deleted file mode 100644 index 7617987c6b..0000000000 --- a/public/docs/js/latest/api/di/SelfMetadata-class.jade +++ /dev/null @@ -1,34 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/metadata.ts (line 83) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/SkipSelf-var.jade b/public/docs/js/latest/api/di/SkipSelf-var.jade deleted file mode 100644 index 7ebef249fb..0000000000 --- a/public/docs/js/latest/api/di/SkipSelf-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 87) - - :markdown - Factory for creating SkipSelfMetadata. - - - diff --git a/public/docs/js/latest/api/di/SkipSelfFactory-interface.jade b/public/docs/js/latest/api/di/SkipSelfFactory-interface.jade deleted file mode 100644 index e6f6c1674f..0000000000 --- a/public/docs/js/latest/api/di/SkipSelfFactory-interface.jade +++ /dev/null @@ -1,7 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/decorators.ts (line 49) - -:markdown - The `di` module provides dependency injection container services. diff --git a/public/docs/js/latest/api/di/SkipSelfMetadata-class.jade b/public/docs/js/latest/api/di/SkipSelfMetadata-class.jade deleted file mode 100644 index e849d31775..0000000000 --- a/public/docs/js/latest/api/di/SkipSelfMetadata-class.jade +++ /dev/null @@ -1,34 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/metadata.ts (line 106) - -:markdown - The `di` module provides dependency injection container services. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/TypeLiteral-class.jade b/public/docs/js/latest/api/di/TypeLiteral-class.jade deleted file mode 100644 index 5d134b9f12..0000000000 --- a/public/docs/js/latest/api/di/TypeLiteral-class.jade +++ /dev/null @@ -1,20 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/type_literal.ts (line 1) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 type - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/UNDEFINED-const.jade b/public/docs/js/latest/api/di/UNDEFINED-const.jade deleted file mode 100644 index 88352dad21..0000000000 --- a/public/docs/js/latest/api/di/UNDEFINED-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/injector.ts (line 19) - - :markdown - - - diff --git a/public/docs/js/latest/api/di/Visibility-enum.jade b/public/docs/js/latest/api/di/Visibility-enum.jade deleted file mode 100644 index a68dc16433..0000000000 --- a/public/docs/js/latest/api/di/Visibility-enum.jade +++ /dev/null @@ -1,44 +0,0 @@ - -p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/injector.ts (line 19) - -:markdown - The `di` module provides dependency injection container services. -.l-main-section - h2 Members - .l-sub-section - h3 Public - - - :markdown - - - - - - - - .l-sub-section - h3 Private - - - :markdown - - - - - - - - .l-sub-section - h3 PublicAndPrivate - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/di/_data.json b/public/docs/js/latest/api/di/_data.json deleted file mode 100644 index 8b879e0558..0000000000 --- a/public/docs/js/latest/api/di/_data.json +++ /dev/null @@ -1,189 +0,0 @@ -{ - "index" : { - "title" : "Di", - "intro" : "The `di` module provides dependency injection container services." - }, - - "InjectMetadata-class" : { - "title" : "InjectMetadata" - }, - - "OptionalMetadata-class" : { - "title" : "OptionalMetadata" - }, - - "InjectableMetadata-class" : { - "title" : "InjectableMetadata" - }, - - "SelfMetadata-class" : { - "title" : "SelfMetadata" - }, - - "HostMetadata-class" : { - "title" : "HostMetadata" - }, - - "SkipSelfMetadata-class" : { - "title" : "SkipSelfMetadata" - }, - - "DependencyMetadata-class" : { - "title" : "DependencyMetadata" - }, - - "forwardRef-function" : { - "title" : "forwardRef" - }, - - "resolveForwardRef-function" : { - "title" : "resolveForwardRef" - }, - - "ForwardRefFn-interface" : { - "title" : "ForwardRefFn" - }, - - "Injector-class" : { - "title" : "Injector" - }, - - "ProtoInjector-class" : { - "title" : "ProtoInjector" - }, - - "BindingWithVisibility-class" : { - "title" : "BindingWithVisibility" - }, - - "DependencyProvider-interface" : { - "title" : "DependencyProvider" - }, - - "Visibility-enum" : { - "title" : "Visibility" - }, - - "UNDEFINED-const" : { - "title" : "UNDEFINED", - "varType" : "Object" - }, - - "Binding-class" : { - "title" : "Binding" - }, - - "BindingBuilder-class" : { - "title" : "BindingBuilder" - }, - - "ResolvedBinding-class" : { - "title" : "ResolvedBinding" - }, - - "Dependency-class" : { - "title" : "Dependency" - }, - - "bind-function" : { - "title" : "bind" - }, - - "Key-class" : { - "title" : "Key" - }, - - "KeyRegistry-class" : { - "title" : "KeyRegistry" - }, - - "TypeLiteral-class" : { - "title" : "TypeLiteral" - }, - - "NoBindingError-class" : { - "title" : "NoBindingError" - }, - - "AbstractBindingError-class" : { - "title" : "AbstractBindingError" - }, - - "CyclicDependencyError-class" : { - "title" : "CyclicDependencyError" - }, - - "InstantiationError-class" : { - "title" : "InstantiationError" - }, - - "InvalidBindingError-class" : { - "title" : "InvalidBindingError" - }, - - "NoAnnotationError-class" : { - "title" : "NoAnnotationError" - }, - - "OutOfBoundsError-class" : { - "title" : "OutOfBoundsError" - }, - - "OpaqueToken-class" : { - "title" : "OpaqueToken" - }, - - "InjectFactory-interface" : { - "title" : "InjectFactory" - }, - - "OptionalFactory-interface" : { - "title" : "OptionalFactory" - }, - - "InjectableFactory-interface" : { - "title" : "InjectableFactory" - }, - - "SelfFactory-interface" : { - "title" : "SelfFactory" - }, - - "HostFactory-interface" : { - "title" : "HostFactory" - }, - - "SkipSelfFactory-interface" : { - "title" : "SkipSelfFactory" - }, - - "Inject-var" : { - "title" : "Inject", - "varType" : "InjectFactory" - }, - - "Optional-var" : { - "title" : "Optional", - "varType" : "OptionalFactory" - }, - - "Injectable-var" : { - "title" : "Injectable", - "varType" : "InjectableFactory" - }, - - "Self-var" : { - "title" : "Self", - "varType" : "SelfFactory" - }, - - "Host-var" : { - "title" : "Host", - "varType" : "HostFactory" - }, - - "SkipSelf-var" : { - "title" : "SkipSelf", - "varType" : "SkipSelfFactory" - } -} diff --git a/public/docs/js/latest/api/di/bind-function.jade b/public/docs/js/latest/api/di/bind-function.jade deleted file mode 100644 index 6521640624..0000000000 --- a/public/docs/js/latest/api/di/bind-function.jade +++ /dev/null @@ -1,29 +0,0 @@ - -.l-main-section - h2(class="function export") bind - - - pre.prettyprint - code. - bind(token: any) : BindingBuilder - - - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/binding.ts (line 242) - - :markdown - Provides an API for imperatively constructing Bindings. - - This is only relevant for JavaScript. See BindingBuilder. - - ## Example - - ```javascript - bind(MyInterface).toClass(MyClass) - - ``` - - - - diff --git a/public/docs/js/latest/api/di/forwardRef-function.jade b/public/docs/js/latest/api/di/forwardRef-function.jade deleted file mode 100644 index 683da90689..0000000000 --- a/public/docs/js/latest/api/di/forwardRef-function.jade +++ /dev/null @@ -1,41 +0,0 @@ - -.l-main-section - h2(class="function export") forwardRef - - - pre.prettyprint - code. - forwardRef(forwardRefFn: ForwardRefFn) : Type - - - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/forward_ref.ts (line 3) - - :markdown - Allows to refer to references which are not yet defined. - - This situation arises when the key which we need te refer to for the purposes of DI is declared, - but not yet defined. - - ## Example: - - ``` - class Door { - // Incorrect way to refer to a reference which is defined later. - // This fails because `Lock` is undefined at this point. - constructor(lock:Lock) { } - - // Correct way to refer to a reference which is defined later. - // The reference needs to be captured in a closure. - constructor(@Inject(forwardRef(() => Lock)) lock:Lock) { } - } - - // Only at this point the lock is defined. - class Lock { - } - ``` - - - - diff --git a/public/docs/js/latest/api/di/index.jade b/public/docs/js/latest/api/di/index.jade deleted file mode 100644 index d84d192266..0000000000 --- a/public/docs/js/latest/api/di/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/di.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/di/resolveForwardRef-function.jade b/public/docs/js/latest/api/di/resolveForwardRef-function.jade deleted file mode 100644 index d60fad6725..0000000000 --- a/public/docs/js/latest/api/di/resolveForwardRef-function.jade +++ /dev/null @@ -1,22 +0,0 @@ - -.l-main-section - h2(class="function export") resolveForwardRef - - - pre.prettyprint - code. - resolveForwardRef(type: any) : any - - - p.location-badge. - exported from angular2/di - defined in angular2/src/core/di/forward_ref.ts (line 33) - - :markdown - Lazily retrieve the reference value. - - See: forwardRef - - - - diff --git a/public/docs/js/latest/api/directives/CORE_DIRECTIVES-const.jade b/public/docs/js/latest/api/directives/CORE_DIRECTIVES-const.jade deleted file mode 100644 index 99c1e16def..0000000000 --- a/public/docs/js/latest/api/directives/CORE_DIRECTIVES-const.jade +++ /dev/null @@ -1,49 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/directives - defined in angular2/directives.ts (line 63) - - :markdown - A collection of the Angular core directives that are likely to be used in each and every Angular - application. - - This collection can be used to quickly enumerate all the built-in directives in the `@View` - annotation. For example, - instead of writing: - - ``` - import {NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/angular2'; - import {OtherDirective} from 'myDirectives'; - - @Component({ - selector: 'my-component' - }) - @View({ - templateUrl: 'myComponent.html', - directives: [NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective] - }) - export class MyComponent { - ... - } - ``` - one could import all the core directives at once: - - ``` - import {CORE_DIRECTIVES} from 'angular2/angular2'; - import {OtherDirective} from 'myDirectives'; - - @Component({ - selector: 'my-component' - }) - @View({ - templateUrl: 'myComponent.html', - directives: [CORE_DIRECTIVES, OtherDirective] - }) - export class MyComponent { - ... - } - ``` - - - diff --git a/public/docs/js/latest/api/directives/NgClass-class.jade b/public/docs/js/latest/api/directives/NgClass-class.jade deleted file mode 100644 index 284ebc5b77..0000000000 --- a/public/docs/js/latest/api/directives/NgClass-class.jade +++ /dev/null @@ -1,93 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_class.ts (line 15) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[ng-class]', - lifecycle: [LifecycleEvent.DoCheck, LifecycleEvent.OnDestroy], - properties: ['rawClass: ng-class', 'initialClasses: class'] - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_iterableDiffers: IterableDiffers, _keyValueDiffers: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer) - - :markdown - - - - - - - .l-sub-section - h3 initialClasses - - - :markdown - - - - - - - - .l-sub-section - h3 rawClass - - - :markdown - - - - - - - - .l-sub-section - h3 doCheck - - - pre.prettyprint - code. - doCheck() - - :markdown - - - - - - - - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/NgFor-class.jade b/public/docs/js/latest/api/directives/NgFor-class.jade deleted file mode 100644 index ed46f75eea..0000000000 --- a/public/docs/js/latest/api/directives/NgFor-class.jade +++ /dev/null @@ -1,109 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_for.ts (line 4) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: '[ng-for][ng-for-of]', properties: ['ngForOf'], lifecycle: [LifecycleEvent.DoCheck]}) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, iterableDiffers: IterableDiffers, cdr: ChangeDetectorRef) - - :markdown - - - - - - - .l-sub-section - h3 viewContainer - - - :markdown - - - - - - - - .l-sub-section - h3 templateRef - - - :markdown - - - - - - - - .l-sub-section - h3 iterableDiffers - - - :markdown - - - - - - - - .l-sub-section - h3 cdr - - - :markdown - - - - - - - - .l-sub-section - h3 ngForOf - - - :markdown - - - - - - - - .l-sub-section - h3 doCheck - - - pre.prettyprint - code. - doCheck() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/NgIf-class.jade b/public/docs/js/latest/api/directives/NgIf-class.jade deleted file mode 100644 index e2f49f7200..0000000000 --- a/public/docs/js/latest/api/directives/NgIf-class.jade +++ /dev/null @@ -1,45 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_if.ts (line 3) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: '[ng-if]', properties: ['ngIf']}) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_viewContainer: ViewContainerRef, _templateRef: TemplateRef) - - :markdown - - - - - - - .l-sub-section - h3 ngIf - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/NgNonBindable-class.jade b/public/docs/js/latest/api/directives/NgNonBindable-class.jade deleted file mode 100644 index fadf1e6831..0000000000 --- a/public/docs/js/latest/api/directives/NgNonBindable-class.jade +++ /dev/null @@ -1,17 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_non_bindable.ts (line 1) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: '[ng-non-bindable]', compileChildren: false}) - - diff --git a/public/docs/js/latest/api/directives/NgStyle-class.jade b/public/docs/js/latest/api/directives/NgStyle-class.jade deleted file mode 100644 index c886efd01a..0000000000 --- a/public/docs/js/latest/api/directives/NgStyle-class.jade +++ /dev/null @@ -1,65 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_style.ts (line 5) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[ng-style]', - lifecycle: [LifecycleEvent.DoCheck], - properties: ['rawStyle: ng-style'] - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_differs: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer) - - :markdown - - - - - - - .l-sub-section - h3 rawStyle - - - :markdown - - - - - - - - .l-sub-section - h3 doCheck - - - pre.prettyprint - code. - doCheck() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/NgSwitch-class.jade b/public/docs/js/latest/api/directives/NgSwitch-class.jade deleted file mode 100644 index 5ddaaff4b8..0000000000 --- a/public/docs/js/latest/api/directives/NgSwitch-class.jade +++ /dev/null @@ -1,30 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_switch.ts (line 15) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: '[ng-switch]', properties: ['ngSwitch']}) - - -.l-main-section - h2 Members - .l-sub-section - h3 ngSwitch - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade b/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade deleted file mode 100644 index 0b829baeea..0000000000 --- a/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade +++ /dev/null @@ -1,33 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_switch.ts (line 157) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: '[ng-switch-default]'}) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, sswitch: NgSwitch) - - :markdown - - - - - diff --git a/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade b/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade deleted file mode 100644 index 4a09658ecf..0000000000 --- a/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade +++ /dev/null @@ -1,45 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_switch.ts (line 125) - -:markdown - Common directives shipped with Angular. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: '[ng-switch-when]', properties: ['ngSwitchWhen']}) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, _switch: NgSwitch) - - :markdown - - - - - - - .l-sub-section - h3 ngSwitchWhen - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/RecordViewTuple-class.jade b/public/docs/js/latest/api/directives/RecordViewTuple-class.jade deleted file mode 100644 index 80489bae7d..0000000000 --- a/public/docs/js/latest/api/directives/RecordViewTuple-class.jade +++ /dev/null @@ -1,47 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_for.ts (line 115) - -:markdown - Common directives shipped with Angular. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(record: any, view: any) - - :markdown - - - - - - - .l-sub-section - h3 view - - - :markdown - - - - - - - - .l-sub-section - h3 record - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/SwitchView-class.jade b/public/docs/js/latest/api/directives/SwitchView-class.jade deleted file mode 100644 index c0cfe34ce2..0000000000 --- a/public/docs/js/latest/api/directives/SwitchView-class.jade +++ /dev/null @@ -1,55 +0,0 @@ - -p.location-badge. - exported from angular2/directives - defined in angular2/src/core/directives/ng_switch.ts (line 7) - -:markdown - Common directives shipped with Angular. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_viewContainerRef: ViewContainerRef, _templateRef: TemplateRef) - - :markdown - - - - - - - .l-sub-section - h3 create - - - pre.prettyprint - code. - create() - - :markdown - - - - - - - - .l-sub-section - h3 destroy - - - pre.prettyprint - code. - destroy() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/directives/_data.json b/public/docs/js/latest/api/directives/_data.json deleted file mode 100644 index 796f9c89ac..0000000000 --- a/public/docs/js/latest/api/directives/_data.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "index" : { - "title" : "Directives", - "intro" : "Common directives shipped with Angular." - }, - - "CORE_DIRECTIVES-const" : { - "title" : "CORE_DIRECTIVES" - }, - - "NgClass-class" : { - "title" : "NgClass" - }, - - "NgFor-class" : { - "title" : "NgFor" - }, - - "RecordViewTuple-class" : { - "title" : "RecordViewTuple" - }, - - "NgIf-class" : { - "title" : "NgIf" - }, - - "NgNonBindable-class" : { - "title" : "NgNonBindable" - }, - - "NgStyle-class" : { - "title" : "NgStyle" - }, - - "SwitchView-class" : { - "title" : "SwitchView" - }, - - "NgSwitch-class" : { - "title" : "NgSwitch" - }, - - "NgSwitchWhen-class" : { - "title" : "NgSwitchWhen" - }, - - "NgSwitchDefault-class" : { - "title" : "NgSwitchDefault" - } -} diff --git a/public/docs/js/latest/api/directives/index.jade b/public/docs/js/latest/api/directives/index.jade deleted file mode 100644 index bcb8ad90d5..0000000000 --- a/public/docs/js/latest/api/directives/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/directives.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/forms/AbstractControl-class.jade b/public/docs/js/latest/api/forms/AbstractControl-class.jade deleted file mode 100644 index 30edbc9c18..0000000000 --- a/public/docs/js/latest/api/forms/AbstractControl-class.jade +++ /dev/null @@ -1,278 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/model.ts (line 37) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(validator: Function) - - :markdown - - - - - - - .l-sub-section - h3 validator - - - :markdown - - - - - - - - .l-sub-section - h3 value - - - :markdown - - - - - - - - .l-sub-section - h3 status - - - :markdown - - - - - - - - .l-sub-section - h3 valid - - - :markdown - - - - - - - - .l-sub-section - h3 errors - - - :markdown - - - - - - - - .l-sub-section - h3 pristine - - - :markdown - - - - - - - - .l-sub-section - h3 dirty - - - :markdown - - - - - - - - .l-sub-section - h3 touched - - - :markdown - - - - - - - - .l-sub-section - h3 untouched - - - :markdown - - - - - - - - .l-sub-section - h3 valueChanges - - - :markdown - - - - - - - - .l-sub-section - h3 markAsTouched - - - pre.prettyprint - code. - markAsTouched() - - :markdown - - - - - - - - .l-sub-section - h3 markAsDirty - - - pre.prettyprint - code. - markAsDirty({onlySelf}?: {onlySelf?: boolean}) - - :markdown - - - - - - - - .l-sub-section - h3 setParent - - - pre.prettyprint - code. - setParent(parent: ControlGroup | ControlArray) - - :markdown - - - - - - - - .l-sub-section - h3 updateValidity - - - pre.prettyprint - code. - updateValidity({onlySelf}?: {onlySelf?: boolean}) - - :markdown - - - - - - - - .l-sub-section - h3 updateValueAndValidity - - - pre.prettyprint - code. - updateValueAndValidity({onlySelf, emitEvent}?: {onlySelf?: boolean, emitEvent?: boolean}) - - :markdown - - - - - - - - .l-sub-section - h3 find - - - pre.prettyprint - code. - find(path: Array<string | number>| string) - - :markdown - - - - - - - - .l-sub-section - h3 getError - - - pre.prettyprint - code. - getError(errorCode: string, path?: string[]) - - :markdown - - - - - - - - .l-sub-section - h3 hasError - - - pre.prettyprint - code. - hasError(errorCode: string, path?: string[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/AbstractControlDirective-class.jade b/public/docs/js/latest/api/forms/AbstractControlDirective-class.jade deleted file mode 100644 index d17683155b..0000000000 --- a/public/docs/js/latest/api/forms/AbstractControlDirective-class.jade +++ /dev/null @@ -1,111 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/abstract_control_directive.ts (line 1) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 control - - - :markdown - - - - - - - - .l-sub-section - h3 value - - - :markdown - - - - - - - - .l-sub-section - h3 valid - - - :markdown - - - - - - - - .l-sub-section - h3 errors - - - :markdown - - - - - - - - .l-sub-section - h3 pristine - - - :markdown - - - - - - - - .l-sub-section - h3 dirty - - - :markdown - - - - - - - - .l-sub-section - h3 touched - - - :markdown - - - - - - - - .l-sub-section - h3 untouched - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade deleted file mode 100644 index 85a8083544..0000000000 --- a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade +++ /dev/null @@ -1,233 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/checkbox_value_accessor.ts (line 9) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: - 'input[type=checkbox][ng-control],input[type=checkbox][ng-form-control],input[type=checkbox][ng-model]', - host: { - '(change)': 'onChange($event.target.checked)', - '(blur)': 'onTouched()', - '[class.ng-untouched]': 'ngClassUntouched', - '[class.ng-touched]': 'ngClassTouched', - '[class.ng-pristine]': 'ngClassPristine', - '[class.ng-dirty]': 'ngClassDirty', - '[class.ng-valid]': 'ngClassValid', - '[class.ng-invalid]': 'ngClassInvalid' - } - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(cd: NgControl, renderer: Renderer, elementRef: ElementRef) - - :markdown - - - - - - - .l-sub-section - h3 cd - - - :markdown - - - - - - - - .l-sub-section - h3 onChange - - - :markdown - - - - - - - - .l-sub-section - h3 onTouched - - - :markdown - - - - - - - - .l-sub-section - h3 renderer - - - :markdown - - - - - - - - .l-sub-section - h3 elementRef - - - :markdown - - - - - - - - .l-sub-section - h3 writeValue - - - pre.prettyprint - code. - writeValue(value: any) - - :markdown - - - - - - - - .l-sub-section - h3 ngClassUntouched - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassTouched - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassPristine - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassDirty - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassValid - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassInvalid - - - :markdown - - - - - - - - .l-sub-section - h3 registerOnChange - - - pre.prettyprint - code. - registerOnChange(fn: (_: any) => {}) - - :markdown - - - - - - - - .l-sub-section - h3 registerOnTouched - - - pre.prettyprint - code. - registerOnTouched(fn: () => {}) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/Control-class.jade b/public/docs/js/latest/api/forms/Control-class.jade deleted file mode 100644 index 559c3f33f7..0000000000 --- a/public/docs/js/latest/api/forms/Control-class.jade +++ /dev/null @@ -1,63 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/model.ts (line 135) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(value?: any, validator?: Function) - - :markdown - - - - - - - .l-sub-section - h3 updateValue - - - pre.prettyprint - code. - updateValue(value: any, {onlySelf, emitEvent, emitModelToViewChange}?: - {onlySelf?: boolean, emitEvent?: boolean, emitModelToViewChange?: boolean}) - - :markdown - - - - - - - - .l-sub-section - h3 registerOnChange - - - pre.prettyprint - code. - registerOnChange(fn: Function) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/ControlArray-class.jade b/public/docs/js/latest/api/forms/ControlArray-class.jade deleted file mode 100644 index 8eb07aa547..0000000000 --- a/public/docs/js/latest/api/forms/ControlArray-class.jade +++ /dev/null @@ -1,118 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/model.ts (line 249) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(controls: AbstractControl[], validator?: Function) - - :markdown - - - - - - - .l-sub-section - h3 controls - - - :markdown - - - - - - - - .l-sub-section - h3 at - - - pre.prettyprint - code. - at(index: number) - - :markdown - - - - - - - - .l-sub-section - h3 push - - - pre.prettyprint - code. - push(control: AbstractControl) - - :markdown - - - - - - - - .l-sub-section - h3 insert - - - pre.prettyprint - code. - insert(index: number, control: AbstractControl) - - :markdown - - - - - - - - .l-sub-section - h3 removeAt - - - pre.prettyprint - code. - removeAt(index: number) - - :markdown - - - - - - - - .l-sub-section - h3 length - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/ControlContainer-class.jade b/public/docs/js/latest/api/forms/ControlContainer-class.jade deleted file mode 100644 index d8ee3435e2..0000000000 --- a/public/docs/js/latest/api/forms/ControlContainer-class.jade +++ /dev/null @@ -1,51 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/control_container.ts (line 2) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 name - - - :markdown - - - - - - - - .l-sub-section - h3 formDirective - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/ControlGroup-class.jade b/public/docs/js/latest/api/forms/ControlGroup-class.jade deleted file mode 100644 index e988f0ace3..0000000000 --- a/public/docs/js/latest/api/forms/ControlGroup-class.jade +++ /dev/null @@ -1,122 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/model.ts (line 165) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(controls: StringMap<string, AbstractControl>, optionals?: StringMap<string, boolean>, validator?: Function) - - :markdown - - - - - - - .l-sub-section - h3 controls - - - :markdown - - - - - - - - .l-sub-section - h3 addControl - - - pre.prettyprint - code. - addControl(name: string, c: AbstractControl) - - :markdown - - - - - - - - .l-sub-section - h3 removeControl - - - pre.prettyprint - code. - removeControl(name: string) - - :markdown - - - - - - - - .l-sub-section - h3 include - - - pre.prettyprint - code. - include(controlName: string) - - :markdown - - - - - - - - .l-sub-section - h3 exclude - - - pre.prettyprint - code. - exclude(controlName: string) - - :markdown - - - - - - - - .l-sub-section - h3 contains - - - pre.prettyprint - code. - contains(controlName: string) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade b/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade deleted file mode 100644 index 0f77b15319..0000000000 --- a/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade +++ /dev/null @@ -1,63 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/control_value_accessor.ts (line 1) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 writeValue - - - pre.prettyprint - code. - writeValue(obj: any) - - :markdown - - - - - - - - .l-sub-section - h3 registerOnChange - - - pre.prettyprint - code. - registerOnChange(fn: any) - - :markdown - - - - - - - - .l-sub-section - h3 registerOnTouched - - - pre.prettyprint - code. - registerOnTouched(fn: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade deleted file mode 100644 index 2208a4dca6..0000000000 --- a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade +++ /dev/null @@ -1,234 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/default_value_accessor.ts (line 8) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: - 'input:not([type=checkbox])[ng-control],textarea[ng-control],input:not([type=checkbox])[ng-form-control],textarea[ng-form-control],input:not([type=checkbox])[ng-model],textarea[ng-model]', - host: { - '(change)': 'onChange($event.target.value)', - '(input)': 'onChange($event.target.value)', - '(blur)': 'onTouched()', - '[class.ng-untouched]': 'ngClassUntouched', - '[class.ng-touched]': 'ngClassTouched', - '[class.ng-pristine]': 'ngClassPristine', - '[class.ng-dirty]': 'ngClassDirty', - '[class.ng-valid]': 'ngClassValid', - '[class.ng-invalid]': 'ngClassInvalid' - } - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(cd: NgControl, renderer: Renderer, elementRef: ElementRef) - - :markdown - - - - - - - .l-sub-section - h3 cd - - - :markdown - - - - - - - - .l-sub-section - h3 onChange - - - :markdown - - - - - - - - .l-sub-section - h3 onTouched - - - :markdown - - - - - - - - .l-sub-section - h3 renderer - - - :markdown - - - - - - - - .l-sub-section - h3 elementRef - - - :markdown - - - - - - - - .l-sub-section - h3 writeValue - - - pre.prettyprint - code. - writeValue(value: any) - - :markdown - - - - - - - - .l-sub-section - h3 ngClassUntouched - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassTouched - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassPristine - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassDirty - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassValid - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassInvalid - - - :markdown - - - - - - - - .l-sub-section - h3 registerOnChange - - - pre.prettyprint - code. - registerOnChange(fn: (_: any) => void) - - :markdown - - - - - - - - .l-sub-section - h3 registerOnTouched - - - pre.prettyprint - code. - registerOnTouched(fn: () => void) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/FORM_BINDINGS-const.jade b/public/docs/js/latest/api/forms/FORM_BINDINGS-const.jade deleted file mode 100644 index 77cc42e3a1..0000000000 --- a/public/docs/js/latest/api/forms/FORM_BINDINGS-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/forms - defined in angular2/forms.ts (line 42) - - :markdown - - - diff --git a/public/docs/js/latest/api/forms/FORM_DIRECTIVES-const.jade b/public/docs/js/latest/api/forms/FORM_DIRECTIVES-const.jade deleted file mode 100644 index b009ef0dd0..0000000000 --- a/public/docs/js/latest/api/forms/FORM_DIRECTIVES-const.jade +++ /dev/null @@ -1,13 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives.ts (line 38) - - :markdown - A list of all the form directives used as part of a `@View` annotation. - - This is a shorthand for importing them each individually. - - - diff --git a/public/docs/js/latest/api/forms/Form-interface.jade b/public/docs/js/latest/api/forms/Form-interface.jade deleted file mode 100644 index 18651db92e..0000000000 --- a/public/docs/js/latest/api/forms/Form-interface.jade +++ /dev/null @@ -1,127 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/form_interface.ts (line 3) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 addControl - - - pre.prettyprint - code. - addControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 removeControl - - - pre.prettyprint - code. - removeControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 getControl - - - pre.prettyprint - code. - getControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 addControlGroup - - - pre.prettyprint - code. - addControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 removeControlGroup - - - pre.prettyprint - code. - removeControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 getControlGroup - - - pre.prettyprint - code. - getControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 updateModel - - - pre.prettyprint - code. - updateModel(dir: NgControl, value: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/FormBuilder-class.jade b/public/docs/js/latest/api/forms/FormBuilder-class.jade deleted file mode 100644 index bb4b6985fb..0000000000 --- a/public/docs/js/latest/api/forms/FormBuilder-class.jade +++ /dev/null @@ -1,73 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/form_builder.ts (line 4) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 group - - - pre.prettyprint - code. - group(controlsConfig: StringMap<string, any>, extra?: StringMap<string, any>) - - :markdown - - - - - - - - .l-sub-section - h3 control - - - pre.prettyprint - code. - control(value: Object, validator?: Function) - - :markdown - - - - - - - - .l-sub-section - h3 array - - - pre.prettyprint - code. - array(controlsConfig: any[], validator?: Function) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgControl-class.jade b/public/docs/js/latest/api/forms/NgControl-class.jade deleted file mode 100644 index 70bf0d45bb..0000000000 --- a/public/docs/js/latest/api/forms/NgControl-class.jade +++ /dev/null @@ -1,79 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/ng_control.ts (line 2) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 name - - - :markdown - - - - - - - - .l-sub-section - h3 valueAccessor - - - :markdown - - - - - - - - .l-sub-section - h3 validator - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 viewToModelUpdate - - - pre.prettyprint - code. - viewToModelUpdate(newValue: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgControlGroup-class.jade b/public/docs/js/latest/api/forms/NgControlGroup-class.jade deleted file mode 100644 index 45ea4a60e0..0000000000 --- a/public/docs/js/latest/api/forms/NgControlGroup-class.jade +++ /dev/null @@ -1,114 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/ng_control_group.ts (line 12) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[ng-control-group]', - bindings: [controlGroupBinding], - properties: ['name: ng-control-group'], - lifecycle: [LifecycleEvent.OnInit, LifecycleEvent.OnDestroy], - exportAs: 'form' - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_parent: ControlContainer) - - :markdown - - - - - - - .l-sub-section - h3 onInit - - - pre.prettyprint - code. - onInit() - - :markdown - - - - - - - - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - - - .l-sub-section - h3 control - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 formDirective - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgControlName-class.jade b/public/docs/js/latest/api/forms/NgControlName-class.jade deleted file mode 100644 index 0be258b164..0000000000 --- a/public/docs/js/latest/api/forms/NgControlName-class.jade +++ /dev/null @@ -1,191 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/ng_control_name.ts (line 16) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[ng-control]', - bindings: [controlNameBinding], - properties: ['name: ngControl', 'model: ngModel'], - events: ['update: ngModel'], - lifecycle: [LifecycleEvent.OnDestroy, LifecycleEvent.OnChanges], - exportAs: 'form' - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(parent: ControlContainer, ngValidators: QueryList<NgValidator>) - - :markdown - - - - - - - .l-sub-section - h3 update - - - :markdown - - - - - - - - .l-sub-section - h3 model - - - :markdown - - - - - - - - .l-sub-section - h3 viewModel - - - :markdown - - - - - - - - .l-sub-section - h3 ngValidators - - - :markdown - - - - - - - - .l-sub-section - h3 onChanges - - - pre.prettyprint - code. - onChanges(c: StringMap<string, any>) - - :markdown - - - - - - - - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - - - .l-sub-section - h3 viewToModelUpdate - - - pre.prettyprint - code. - viewToModelUpdate(newValue: any) - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 formDirective - - - :markdown - - - - - - - - .l-sub-section - h3 control - - - :markdown - - - - - - - - .l-sub-section - h3 validator - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgForm-class.jade b/public/docs/js/latest/api/forms/NgForm-class.jade deleted file mode 100644 index b4218e2263..0000000000 --- a/public/docs/js/latest/api/forms/NgForm-class.jade +++ /dev/null @@ -1,248 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/ng_form.ts (line 19) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: 'form:not([ng-no-form]):not([ng-form-model]),ng-form,[ng-form]', - bindings: [formDirectiveBinding], - host: { - '(submit)': 'onSubmit()', - }, - events: ['ngSubmit'], - exportAs: 'form' - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 form - - - :markdown - - - - - - - - .l-sub-section - h3 ngSubmit - - - :markdown - - - - - - - - .l-sub-section - h3 formDirective - - - :markdown - - - - - - - - .l-sub-section - h3 control - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 controls - - - :markdown - - - - - - - - .l-sub-section - h3 addControl - - - pre.prettyprint - code. - addControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 getControl - - - pre.prettyprint - code. - getControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 removeControl - - - pre.prettyprint - code. - removeControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 addControlGroup - - - pre.prettyprint - code. - addControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 removeControlGroup - - - pre.prettyprint - code. - removeControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 getControlGroup - - - pre.prettyprint - code. - getControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 updateModel - - - pre.prettyprint - code. - updateModel(dir: NgControl, value: any) - - :markdown - - - - - - - - .l-sub-section - h3 onSubmit - - - pre.prettyprint - code. - onSubmit() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgFormControl-class.jade b/public/docs/js/latest/api/forms/NgFormControl-class.jade deleted file mode 100644 index a711396c78..0000000000 --- a/public/docs/js/latest/api/forms/NgFormControl-class.jade +++ /dev/null @@ -1,175 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/ng_form_control.ts (line 14) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[ng-form-control]', - bindings: [formControlBinding], - properties: ['form: ngFormControl', 'model: ngModel'], - events: ['update: ngModel'], - lifecycle: [LifecycleEvent.OnChanges], - exportAs: 'form' - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(ngValidators: QueryList<NgValidator>) - - :markdown - - - - - - - .l-sub-section - h3 form - - - :markdown - - - - - - - - .l-sub-section - h3 update - - - :markdown - - - - - - - - .l-sub-section - h3 model - - - :markdown - - - - - - - - .l-sub-section - h3 viewModel - - - :markdown - - - - - - - - .l-sub-section - h3 ngValidators - - - :markdown - - - - - - - - .l-sub-section - h3 onChanges - - - pre.prettyprint - code. - onChanges(c: StringMap<string, any>) - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 control - - - :markdown - - - - - - - - .l-sub-section - h3 validator - - - :markdown - - - - - - - - .l-sub-section - h3 viewToModelUpdate - - - pre.prettyprint - code. - viewToModelUpdate(newValue: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgFormModel-class.jade b/public/docs/js/latest/api/forms/NgFormModel-class.jade deleted file mode 100644 index 19caa95d48..0000000000 --- a/public/docs/js/latest/api/forms/NgFormModel-class.jade +++ /dev/null @@ -1,251 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/ng_form_model.ts (line 15) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[ng-form-model]', - bindings: [formDirectiveBinding], - properties: ['form: ng-form-model'], - lifecycle: [LifecycleEvent.OnChanges], - host: { - '(submit)': 'onSubmit()', - }, - events: ['ngSubmit'], - exportAs: 'form' - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 form - - - :markdown - - - - - - - - .l-sub-section - h3 directives - - - :markdown - - - - - - - - .l-sub-section - h3 ngSubmit - - - :markdown - - - - - - - - .l-sub-section - h3 onChanges - - - pre.prettyprint - code. - onChanges(_: any) - - :markdown - - - - - - - - .l-sub-section - h3 formDirective - - - :markdown - - - - - - - - .l-sub-section - h3 control - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 addControl - - - pre.prettyprint - code. - addControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 getControl - - - pre.prettyprint - code. - getControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 removeControl - - - pre.prettyprint - code. - removeControl(dir: NgControl) - - :markdown - - - - - - - - .l-sub-section - h3 addControlGroup - - - pre.prettyprint - code. - addControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 removeControlGroup - - - pre.prettyprint - code. - removeControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 getControlGroup - - - pre.prettyprint - code. - getControlGroup(dir: NgControlGroup) - - :markdown - - - - - - - - .l-sub-section - h3 updateModel - - - pre.prettyprint - code. - updateModel(dir: NgControl, value: any) - - :markdown - - - - - - - - .l-sub-section - h3 onSubmit - - - pre.prettyprint - code. - onSubmit() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgModel-class.jade b/public/docs/js/latest/api/forms/NgModel-class.jade deleted file mode 100644 index f7643e4fe2..0000000000 --- a/public/docs/js/latest/api/forms/NgModel-class.jade +++ /dev/null @@ -1,163 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/ng_model.ts (line 13) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[ng-model]:not([ng-control]):not([ng-form-control])', - bindings: [formControlBinding], - properties: ['model: ngModel'], - events: ['update: ngModel'], - lifecycle: [LifecycleEvent.OnChanges], - exportAs: 'form' - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(ngValidators: QueryList<NgValidator>) - - :markdown - - - - - - - .l-sub-section - h3 update - - - :markdown - - - - - - - - .l-sub-section - h3 model - - - :markdown - - - - - - - - .l-sub-section - h3 viewModel - - - :markdown - - - - - - - - .l-sub-section - h3 ngValidators - - - :markdown - - - - - - - - .l-sub-section - h3 onChanges - - - pre.prettyprint - code. - onChanges(c: StringMap<string, any>) - - :markdown - - - - - - - - .l-sub-section - h3 control - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 validator - - - :markdown - - - - - - - - .l-sub-section - h3 viewToModelUpdate - - - pre.prettyprint - code. - viewToModelUpdate(newValue: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade b/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade deleted file mode 100644 index 5c74e5fdfb..0000000000 --- a/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade +++ /dev/null @@ -1,40 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/validators.ts (line 11) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[required][ng-control],[required][ng-form-control],[required][ng-model]', - bindings: [requiredValidatorBinding] - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 validator - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/NgSelectOption-class.jade b/public/docs/js/latest/api/forms/NgSelectOption-class.jade deleted file mode 100644 index b092993fdd..0000000000 --- a/public/docs/js/latest/api/forms/NgSelectOption-class.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/select_control_value_accessor.ts (line 9) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: 'option'}) - - diff --git a/public/docs/js/latest/api/forms/NgValidator-class.jade b/public/docs/js/latest/api/forms/NgValidator-class.jade deleted file mode 100644 index 8c0abeba51..0000000000 --- a/public/docs/js/latest/api/forms/NgValidator-class.jade +++ /dev/null @@ -1,27 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/validators.ts (line 4) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 validator - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/SelectControlValueAccessor-class.jade b/public/docs/js/latest/api/forms/SelectControlValueAccessor-class.jade deleted file mode 100644 index eaf104b3b5..0000000000 --- a/public/docs/js/latest/api/forms/SelectControlValueAccessor-class.jade +++ /dev/null @@ -1,245 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/directives/select_control_value_accessor.ts (line 24) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: 'select[ng-control],select[ng-form-control],select[ng-model]', - host: { - '(change)': 'onChange($event.target.value)', - '(input)': 'onChange($event.target.value)', - '(blur)': 'onTouched()', - '[class.ng-untouched]': 'ngClassUntouched', - '[class.ng-touched]': 'ngClassTouched', - '[class.ng-pristine]': 'ngClassPristine', - '[class.ng-dirty]': 'ngClassDirty', - '[class.ng-valid]': 'ngClassValid', - '[class.ng-invalid]': 'ngClassInvalid' - } - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(cd: NgControl, renderer: Renderer, elementRef: ElementRef, query: QueryList<NgSelectOption>) - - :markdown - - - - - - - .l-sub-section - h3 cd - - - :markdown - - - - - - - - .l-sub-section - h3 value - - - :markdown - - - - - - - - .l-sub-section - h3 onChange - - - :markdown - - - - - - - - .l-sub-section - h3 onTouched - - - :markdown - - - - - - - - .l-sub-section - h3 renderer - - - :markdown - - - - - - - - .l-sub-section - h3 elementRef - - - :markdown - - - - - - - - .l-sub-section - h3 writeValue - - - pre.prettyprint - code. - writeValue(value: any) - - :markdown - - - - - - - - .l-sub-section - h3 ngClassUntouched - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassTouched - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassPristine - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassDirty - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassValid - - - :markdown - - - - - - - - .l-sub-section - h3 ngClassInvalid - - - :markdown - - - - - - - - .l-sub-section - h3 registerOnChange - - - pre.prettyprint - code. - registerOnChange(fn: () => any) - - :markdown - - - - - - - - .l-sub-section - h3 registerOnTouched - - - pre.prettyprint - code. - registerOnTouched(fn: () => any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/forms/Validators-class.jade b/public/docs/js/latest/api/forms/Validators-class.jade deleted file mode 100644 index 75846daba6..0000000000 --- a/public/docs/js/latest/api/forms/Validators-class.jade +++ /dev/null @@ -1,14 +0,0 @@ - -p.location-badge. - exported from angular2/forms - defined in angular2/src/forms/validators.ts (line 4) - -:markdown - This module is used for handling user input, by defining and building a ControlGroup that - consists of - Control objects, and mapping them onto the DOM. Control objects can then be used - to read information - from the form DOM elements. - - This module is not included in the `angular2` module; you must import the forms module - explicitly. diff --git a/public/docs/js/latest/api/forms/_data.json b/public/docs/js/latest/api/forms/_data.json deleted file mode 100644 index 2bbc42934b..0000000000 --- a/public/docs/js/latest/api/forms/_data.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "index" : { - "title" : "Forms", - "intro" : "This module is used for handling user input, by defining and building a ControlGroup thatconsists ofControl objects, and mapping them onto the DOM. Control objects can then be usedto read informationfrom the form DOM elements.This module is not included in the `angular2` module; you must import the forms moduleexplicitly." - }, - - "AbstractControl-class" : { - "title" : "AbstractControl" - }, - - "Control-class" : { - "title" : "Control" - }, - - "ControlGroup-class" : { - "title" : "ControlGroup" - }, - - "ControlArray-class" : { - "title" : "ControlArray" - }, - - "AbstractControlDirective-class" : { - "title" : "AbstractControlDirective" - }, - - "Form-interface" : { - "title" : "Form" - }, - - "ControlContainer-class" : { - "title" : "ControlContainer" - }, - - "NgControlName-class" : { - "title" : "NgControlName" - }, - - "NgFormControl-class" : { - "title" : "NgFormControl" - }, - - "NgModel-class" : { - "title" : "NgModel" - }, - - "NgControl-class" : { - "title" : "NgControl" - }, - - "NgControlGroup-class" : { - "title" : "NgControlGroup" - }, - - "NgFormModel-class" : { - "title" : "NgFormModel" - }, - - "NgForm-class" : { - "title" : "NgForm" - }, - - "ControlValueAccessor-interface" : { - "title" : "ControlValueAccessor" - }, - - "DefaultValueAccessor-class" : { - "title" : "DefaultValueAccessor" - }, - - "CheckboxControlValueAccessor-class" : { - "title" : "CheckboxControlValueAccessor" - }, - - "NgSelectOption-class" : { - "title" : "NgSelectOption" - }, - - "SelectControlValueAccessor-class" : { - "title" : "SelectControlValueAccessor" - }, - - "FORM_DIRECTIVES-const" : { - "title" : "FORM_DIRECTIVES" - }, - - "Validators-class" : { - "title" : "Validators" - }, - - "NgValidator-class" : { - "title" : "NgValidator" - }, - - "NgRequiredValidator-class" : { - "title" : "NgRequiredValidator" - }, - - "FormBuilder-class" : { - "title" : "FormBuilder" - }, - - "FORM_BINDINGS-const" : { - "title" : "FORM_BINDINGS" - } -} diff --git a/public/docs/js/latest/api/forms/index.jade b/public/docs/js/latest/api/forms/index.jade deleted file mode 100644 index ae3c184657..0000000000 --- a/public/docs/js/latest/api/forms/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/forms.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/http/BaseRequestOptions-class.jade b/public/docs/js/latest/api/http/BaseRequestOptions-class.jade deleted file mode 100644 index 6199f07b04..0000000000 --- a/public/docs/js/latest/api/http/BaseRequestOptions-class.jade +++ /dev/null @@ -1,34 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/base_request_options.ts (line 72) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - diff --git a/public/docs/js/latest/api/http/BaseResponseOptions-class.jade b/public/docs/js/latest/api/http/BaseResponseOptions-class.jade deleted file mode 100644 index 1d8d5d1d3e..0000000000 --- a/public/docs/js/latest/api/http/BaseResponseOptions-class.jade +++ /dev/null @@ -1,106 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/base_response_options.ts (line 44) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 body - - - :markdown - - - - - - - - .l-sub-section - h3 status - - - :markdown - - - - - - - - .l-sub-section - h3 headers - - - :markdown - - - - - - - - .l-sub-section - h3 statusText - - - :markdown - - - - - - - - .l-sub-section - h3 type - - - :markdown - - - - - - - - .l-sub-section - h3 url - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/BrowserXhr-class.jade b/public/docs/js/latest/api/http/BrowserXhr-class.jade deleted file mode 100644 index 8f9a59f13f..0000000000 --- a/public/docs/js/latest/api/http/BrowserXhr-class.jade +++ /dev/null @@ -1,50 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/backends/browser_xhr.ts (line 1) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 build - - - pre.prettyprint - code. - build() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/Connection-class.jade b/public/docs/js/latest/api/http/Connection-class.jade deleted file mode 100644 index 6f8fb99eb8..0000000000 --- a/public/docs/js/latest/api/http/Connection-class.jade +++ /dev/null @@ -1,61 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/interfaces.ts (line 29) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 readyState - - - :markdown - - - - - - - - .l-sub-section - h3 request - - - :markdown - - - - - - - - .l-sub-section - h3 response - - - :markdown - - - - - - - - .l-sub-section - h3 dispose - - - pre.prettyprint - code. - dispose() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/ConnectionBackend-class.jade b/public/docs/js/latest/api/http/ConnectionBackend-class.jade deleted file mode 100644 index c547cba988..0000000000 --- a/public/docs/js/latest/api/http/ConnectionBackend-class.jade +++ /dev/null @@ -1,40 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/interfaces.ts (line 18) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 createConnection - - - pre.prettyprint - code. - createConnection(request: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/HTTP_BINDINGS-const.jade b/public/docs/js/latest/api/http/HTTP_BINDINGS-const.jade deleted file mode 100644 index 7673d9f2b4..0000000000 --- a/public/docs/js/latest/api/http/HTTP_BINDINGS-const.jade +++ /dev/null @@ -1,24 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/http - defined in angular2/http.ts (line 64) - - :markdown - Provides a basic set of injectables to use the Http service in any application. - - #Example - - ``` - import {HTTP_BINDINGS, Http} from 'http/http'; - @Component({selector: 'http-app', viewBindings: [HTTP_BINDINGS]}) - @View({template: '{{data}}'}) - class MyApp { - constructor(http:Http) { - http.request('data.txt').subscribe(res => this.data = res.text()); - } - } - ``` - - - diff --git a/public/docs/js/latest/api/http/Headers-class.jade b/public/docs/js/latest/api/http/Headers-class.jade deleted file mode 100644 index 5be90fcfc1..0000000000 --- a/public/docs/js/latest/api/http/Headers-class.jade +++ /dev/null @@ -1,193 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/headers.ts (line 15) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(headers?: Headers | StringMap<string, any>) - - :markdown - - - - - - - .l-sub-section - h3 append - - - pre.prettyprint - code. - append(name: string, value: string) - - :markdown - Appends a header to existing list of header values for a given header name. - - - - - - - - .l-sub-section - h3 delete - - - pre.prettyprint - code. - delete(name: string) - - :markdown - Deletes all header values for the given name. - - - - - - - - .l-sub-section - h3 forEach - - - pre.prettyprint - code. - forEach(fn: Function) - - :markdown - - - - - - - - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(header: string) - - :markdown - Returns first header that matches given name. - - - - - - - - .l-sub-section - h3 has - - - pre.prettyprint - code. - has(header: string) - - :markdown - Check for existence of header by given name. - - - - - - - - .l-sub-section - h3 keys - - - pre.prettyprint - code. - keys() - - :markdown - Provides names of set headers - - - - - - - - .l-sub-section - h3 set - - - pre.prettyprint - code. - set(header: string, value: string | string[]) - - :markdown - Sets or overrides header value for given name. - - - - - - - - .l-sub-section - h3 values - - - pre.prettyprint - code. - values() - - :markdown - Returns values of all headers. - - - - - - - - .l-sub-section - h3 getAll - - - pre.prettyprint - code. - getAll(header: string) - - :markdown - Returns list of header values for a given name. - - - - - - - - .l-sub-section - h3 entries - - - pre.prettyprint - code. - entries() - - :markdown - This method is not implemented. - - - - - - diff --git a/public/docs/js/latest/api/http/Http-class.jade b/public/docs/js/latest/api/http/Http-class.jade deleted file mode 100644 index 8e2b21cbb4..0000000000 --- a/public/docs/js/latest/api/http/Http-class.jade +++ /dev/null @@ -1,156 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/http.ts (line 33) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_backend: ConnectionBackend, _defaultOptions: RequestOptions) - - :markdown - - - - - - - .l-sub-section - h3 request - - - pre.prettyprint - code. - request(url: string | Request, options?: RequestOptionsArgs) - - :markdown - Performs any type of http request. First argument is required, and can either be a url or - a Request instance. If the first argument is a url, an optional RequestOptions - object can be provided as the 2nd argument. The options object will be merged with the values - of BaseRequestOptions before performing the request. - - - - - - - - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(url: string, options?: RequestOptionsArgs) - - :markdown - Performs a request with `get` http method. - - - - - - - - .l-sub-section - h3 post - - - pre.prettyprint - code. - post(url: string, body: string, options?: RequestOptionsArgs) - - :markdown - Performs a request with `post` http method. - - - - - - - - .l-sub-section - h3 put - - - pre.prettyprint - code. - put(url: string, body: string, options?: RequestOptionsArgs) - - :markdown - Performs a request with `put` http method. - - - - - - - - .l-sub-section - h3 delete - - - pre.prettyprint - code. - delete(url: string, options?: RequestOptionsArgs) - - :markdown - Performs a request with `delete` http method. - - - - - - - - .l-sub-section - h3 patch - - - pre.prettyprint - code. - patch(url: string, body: string, options?: RequestOptionsArgs) - - :markdown - Performs a request with `patch` http method. - - - - - - - - .l-sub-section - h3 head - - - pre.prettyprint - code. - head(url: string, options?: RequestOptionsArgs) - - :markdown - Performs a request with `head` http method. - - - - - - diff --git a/public/docs/js/latest/api/http/JSONPBackend-class.jade b/public/docs/js/latest/api/http/JSONPBackend-class.jade deleted file mode 100644 index 0008a6e05c..0000000000 --- a/public/docs/js/latest/api/http/JSONPBackend-class.jade +++ /dev/null @@ -1,50 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/backends/jsonp_backend.ts (line 89) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_browserJSONP: BrowserJsonp, _baseResponseOptions: ResponseOptions) - - :markdown - - - - - - - .l-sub-section - h3 createConnection - - - pre.prettyprint - code. - createConnection(request: Request) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/JSONPConnection-class.jade b/public/docs/js/latest/api/http/JSONPConnection-class.jade deleted file mode 100644 index eb7c5c8afe..0000000000 --- a/public/docs/js/latest/api/http/JSONPConnection-class.jade +++ /dev/null @@ -1,104 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/backends/jsonp_backend.ts (line 9) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(req: Request, _dom: BrowserJsonp, baseResponseOptions?: ResponseOptions) - - :markdown - - - - - - - .l-sub-section - h3 readyState - - - :markdown - - - - - - - - .l-sub-section - h3 request - - - :markdown - - - - - - - - .l-sub-section - h3 response - - - :markdown - - - - - - - - .l-sub-section - h3 baseResponseOptions - - - :markdown - - - - - - - - .l-sub-section - h3 finished - - - pre.prettyprint - code. - finished(data?: any) - - :markdown - - - - - - - - .l-sub-section - h3 dispose - - - pre.prettyprint - code. - dispose() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/JSONP_BINDINGS-const.jade b/public/docs/js/latest/api/http/JSONP_BINDINGS-const.jade deleted file mode 100644 index 6944d0ca11..0000000000 --- a/public/docs/js/latest/api/http/JSONP_BINDINGS-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/http - defined in angular2/http.ts (line 76) - - :markdown - - - diff --git a/public/docs/js/latest/api/http/Jsonp-class.jade b/public/docs/js/latest/api/http/Jsonp-class.jade deleted file mode 100644 index 328a596ef3..0000000000 --- a/public/docs/js/latest/api/http/Jsonp-class.jade +++ /dev/null @@ -1,54 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/http.ts (line 179) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(backend: ConnectionBackend, defaultOptions: RequestOptions) - - :markdown - - - - - - - .l-sub-section - h3 request - - - pre.prettyprint - code. - request(url: string | Request, options?: RequestOptionsArgs) - - :markdown - Performs any type of http request. First argument is required, and can either be a url or - a Request instance. If the first argument is a url, an optional RequestOptions - object can be provided as the 2nd argument. The options object will be merged with the values - of BaseRequestOptions before performing the request. - - - - - - diff --git a/public/docs/js/latest/api/http/MockBackend-class.jade b/public/docs/js/latest/api/http/MockBackend-class.jade deleted file mode 100644 index 525e7547e1..0000000000 --- a/public/docs/js/latest/api/http/MockBackend-class.jade +++ /dev/null @@ -1,169 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/backends/mock_backend.ts (line 98) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 connections - - - :markdown - EventEmitter - of MockConnection instances that have been created by this backend. Can be subscribed - to in order to respond to connections. - - #Example - - ``` - import {MockBackend, Http, BaseRequestOptions} from 'angular2/http'; - import {Injector} from 'angular2/di'; - - it('should get a response', () => { - var connection; //this will be set when a new connection is emitted from the backend. - var text; //this will be set from mock response - var injector = Injector.resolveAndCreate([ - MockBackend, - bind(Http).toFactory(backend, options) { - return new Http(backend, options); - }, [MockBackend, BaseRequestOptions]]); - var backend = injector.get(MockBackend); - var http = injector.get(Http); - backend.connections.subscribe(c => connection = c); - http.request('something.json').subscribe(res => { - text = res.text(); - }); - connection.mockRespond(new Response({body: 'Something'})); - expect(text).toBe('Something'); - }); - ``` - - This property only exists in the mock implementation, not in real Backends. - - - - - - - - .l-sub-section - h3 connectionsArray - - - :markdown - An array representation of `connections`. This array will be updated with each connection that - is created by this backend. - - This property only exists in the mock implementation, not in real Backends. - - - - - - - - .l-sub-section - h3 pendingConnections - - - :markdown - EventEmitter of MockConnection instances that haven't yet been resolved (i.e. - with a `readyState` - less than 4). Used internally to verify that no connections are pending via the - `verifyNoPendingRequests` method. - - This property only exists in the mock implementation, not in real Backends. - - - - - - - - .l-sub-section - h3 verifyNoPendingRequests - - - pre.prettyprint - code. - verifyNoPendingRequests() - - :markdown - Checks all connections, and raises an exception if any connection has not received a response. - - This method only exists in the mock implementation, not in real Backends. - - - - - - - - .l-sub-section - h3 resolveAllConnections - - - pre.prettyprint - code. - resolveAllConnections() - - :markdown - Can be used in conjunction with `verifyNoPendingRequests` to resolve any not-yet-resolve - connections, if it's expected that there are connections that have not yet received a response. - - This method only exists in the mock implementation, not in real Backends. - - - - - - - - .l-sub-section - h3 createConnection - - - pre.prettyprint - code. - createConnection(req: Request) - - :markdown - Creates a new MockConnection. This is equivalent to calling `new - MockConnection()`, except that it also will emit the new `Connection` to the `connections` - emitter of this `MockBackend` instance. This method will usually only be used by tests - against the framework itself, not by end-users. - - - - - - diff --git a/public/docs/js/latest/api/http/MockConnection-class.jade b/public/docs/js/latest/api/http/MockConnection-class.jade deleted file mode 100644 index cc598355ae..0000000000 --- a/public/docs/js/latest/api/http/MockConnection-class.jade +++ /dev/null @@ -1,148 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/backends/mock_backend.ts (line 8) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(req: Request) - - :markdown - - - - - - - .l-sub-section - h3 readyState - - - :markdown - Describes the state of the connection, based on `XMLHttpRequest.readyState`, but with - additional states. For example, state 5 indicates an aborted connection. - - - - - - - - .l-sub-section - h3 request - - - :markdown - Request instance used to create the connection. - - - - - - - - .l-sub-section - h3 response - - - :markdown - EventEmitter of Response. Can be subscribed to in order to be notified when a - response is available. - - - - - - - - .l-sub-section - h3 dispose - - - pre.prettyprint - code. - dispose() - - :markdown - Changes the `readyState` of the connection to a custom state of 5 (cancelled). - - - - - - - - .l-sub-section - h3 mockRespond - - - pre.prettyprint - code. - mockRespond(res: Response) - - :markdown - Sends a mock response to the connection. This response is the value that is emitted to the - EventEmitter returned by Http. - - #Example - - ``` - var connection; - backend.connections.subscribe(c => connection = c); - http.request('data.json').subscribe(res => console.log(res.text())); - connection.mockRespond(new Response('fake response')); //logs 'fake response' - ``` - - - - - - - - .l-sub-section - h3 mockDownload - - - pre.prettyprint - code. - mockDownload(res: Response) - - :markdown - Not yet implemented! - - Sends the provided Response to the `downloadObserver` of the `Request` - associated with this connection. - - - - - - - - .l-sub-section - h3 mockError - - - pre.prettyprint - code. - mockError(err?: Error) - - :markdown - Emits the provided error object as an error to the Response EventEmitter - returned - from Http. - - - - - - diff --git a/public/docs/js/latest/api/http/ReadyStates-enum.jade b/public/docs/js/latest/api/http/ReadyStates-enum.jade deleted file mode 100644 index 71067f4eb1..0000000000 --- a/public/docs/js/latest/api/http/ReadyStates-enum.jade +++ /dev/null @@ -1,81 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/enums.ts (line 47) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 Unsent - - - :markdown - - - - - - - - .l-sub-section - h3 Open - - - :markdown - - - - - - - - .l-sub-section - h3 HeadersReceived - - - :markdown - - - - - - - - .l-sub-section - h3 Loading - - - :markdown - - - - - - - - .l-sub-section - h3 Done - - - :markdown - - - - - - - - .l-sub-section - h3 Cancelled - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/Request-class.jade b/public/docs/js/latest/api/http/Request-class.jade deleted file mode 100644 index 0542d14f7b..0000000000 --- a/public/docs/js/latest/api/http/Request-class.jade +++ /dev/null @@ -1,121 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/static_request.ts (line 11) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(requestOptions: RequestOptions) - - :markdown - - - - - - - .l-sub-section - h3 method - - - :markdown - Http method with which to perform the request. - - Defaults to GET. - - - - - - - - .l-sub-section - h3 mode - - - :markdown - - - - - - - - .l-sub-section - h3 credentials - - - :markdown - - - - - - - - .l-sub-section - h3 headers - - - :markdown - Headers object based on the `Headers` class in the [Fetch - Spec](https://fetch.spec.whatwg.org/#headers-class). Headers class reference. - - - - - - - - .l-sub-section - h3 url - - - :markdown - Url of the remote resource - - - - - - - - .l-sub-section - h3 cache - - - :markdown - - - - - - - - .l-sub-section - h3 text - - - pre.prettyprint - code. - text() - - :markdown - Returns the request's body as string, assuming that body exists. If body is undefined, return - empty - string. - - - - - - diff --git a/public/docs/js/latest/api/http/RequestCacheOpts-enum.jade b/public/docs/js/latest/api/http/RequestCacheOpts-enum.jade deleted file mode 100644 index 71bfc5d6ac..0000000000 --- a/public/docs/js/latest/api/http/RequestCacheOpts-enum.jade +++ /dev/null @@ -1,81 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/enums.ts (line 11) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 Default - - - :markdown - - - - - - - - .l-sub-section - h3 NoStore - - - :markdown - - - - - - - - .l-sub-section - h3 Reload - - - :markdown - - - - - - - - .l-sub-section - h3 NoCache - - - :markdown - - - - - - - - .l-sub-section - h3 ForceCache - - - :markdown - - - - - - - - .l-sub-section - h3 OnlyIfCached - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/RequestCredentialsOpts-enum.jade b/public/docs/js/latest/api/http/RequestCredentialsOpts-enum.jade deleted file mode 100644 index 01d4562679..0000000000 --- a/public/docs/js/latest/api/http/RequestCredentialsOpts-enum.jade +++ /dev/null @@ -1,45 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/enums.ts (line 24) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 Omit - - - :markdown - - - - - - - - .l-sub-section - h3 SameOrigin - - - :markdown - - - - - - - - .l-sub-section - h3 Include - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/RequestMethods-enum.jade b/public/docs/js/latest/api/http/RequestMethods-enum.jade deleted file mode 100644 index 97a54fbfc3..0000000000 --- a/public/docs/js/latest/api/http/RequestMethods-enum.jade +++ /dev/null @@ -1,93 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/enums.ts (line 34) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 Get - - - :markdown - - - - - - - - .l-sub-section - h3 Post - - - :markdown - - - - - - - - .l-sub-section - h3 Put - - - :markdown - - - - - - - - .l-sub-section - h3 Delete - - - :markdown - - - - - - - - .l-sub-section - h3 Options - - - :markdown - - - - - - - - .l-sub-section - h3 Head - - - :markdown - - - - - - - - .l-sub-section - h3 Patch - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/RequestModesOpts-enum.jade b/public/docs/js/latest/api/http/RequestModesOpts-enum.jade deleted file mode 100644 index c096e66856..0000000000 --- a/public/docs/js/latest/api/http/RequestModesOpts-enum.jade +++ /dev/null @@ -1,45 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/enums.ts (line 1) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 Cors - - - :markdown - - - - - - - - .l-sub-section - h3 NoCors - - - :markdown - - - - - - - - .l-sub-section - h3 SameOrigin - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/RequestOptions-class.jade b/public/docs/js/latest/api/http/RequestOptions-class.jade deleted file mode 100644 index 1772329407..0000000000 --- a/public/docs/js/latest/api/http/RequestOptions-class.jade +++ /dev/null @@ -1,145 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/base_request_options.ts (line 6) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({method, headers, body, mode, credentials, cache, url, search}?: - RequestOptionsArgs) - - :markdown - - - - - - - .l-sub-section - h3 method - - - :markdown - Http method with which to execute the request. - - Defaults to "GET". - - - - - - - - .l-sub-section - h3 headers - - - :markdown - Headers object based on the `Headers` class in the [Fetch - Spec](https://fetch.spec.whatwg.org/#headers-class). - - - - - - - - .l-sub-section - h3 body - - - :markdown - Body to be used when creating the request. - - - - - - - - .l-sub-section - h3 mode - - - :markdown - - - - - - - - .l-sub-section - h3 credentials - - - :markdown - - - - - - - - .l-sub-section - h3 cache - - - :markdown - - - - - - - - .l-sub-section - h3 url - - - :markdown - - - - - - - - .l-sub-section - h3 search - - - :markdown - - - - - - - - .l-sub-section - h3 merge - - - pre.prettyprint - code. - merge(options?: RequestOptionsArgs) - - :markdown - Creates a copy of the `RequestOptions` instance, using the optional input as values to override - existing values. - - - - - - diff --git a/public/docs/js/latest/api/http/RequestOptionsArgs-interface.jade b/public/docs/js/latest/api/http/RequestOptionsArgs-interface.jade deleted file mode 100644 index e34f956877..0000000000 --- a/public/docs/js/latest/api/http/RequestOptionsArgs-interface.jade +++ /dev/null @@ -1,105 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/interfaces.ts (line 39) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 url? - - - :markdown - - - - - - - - .l-sub-section - h3 method? - - - :markdown - - - - - - - - .l-sub-section - h3 search? - - - :markdown - - - - - - - - .l-sub-section - h3 headers? - - - :markdown - - - - - - - - .l-sub-section - h3 body? - - - :markdown - - - - - - - - .l-sub-section - h3 mode? - - - :markdown - - - - - - - - .l-sub-section - h3 credentials? - - - :markdown - - - - - - - - .l-sub-section - h3 cache? - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/Response-class.jade b/public/docs/js/latest/api/http/Response-class.jade deleted file mode 100644 index 54ab904b39..0000000000 --- a/public/docs/js/latest/api/http/Response-class.jade +++ /dev/null @@ -1,211 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/static_response.ts (line 5) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(responseOptions: ResponseOptions) - - :markdown - - - - - - - .l-sub-section - h3 type - - - :markdown - One of "basic", "cors", "default", "error, or "opaque". - - Defaults to "default". - - - - - - - - .l-sub-section - h3 ok - - - :markdown - True if the response's status is within 200-299 - - - - - - - - .l-sub-section - h3 url - - - :markdown - URL of response. - - Defaults to empty string. - - - - - - - - .l-sub-section - h3 status - - - :markdown - Status code returned by server. - - Defaults to 200. - - - - - - - - .l-sub-section - h3 statusText - - - :markdown - Text representing the corresponding reason phrase to the `status`, as defined in [ietf rfc 2616 - section 6.1.1](https://tools.ietf.org/html/rfc2616#section-6.1.1) - - Defaults to "OK" - - - - - - - - .l-sub-section - h3 bytesLoaded - - - :markdown - Non-standard property - - Denotes how many of the response body's bytes have been loaded, for example if the response is - the result of a progress event. - - - - - - - - .l-sub-section - h3 totalBytes - - - :markdown - Non-standard property - - Denotes how many bytes are expected in the final response body. - - - - - - - - .l-sub-section - h3 headers - - - :markdown - Headers object based on the `Headers` class in the [Fetch - Spec](https://fetch.spec.whatwg.org/#headers-class). - - - - - - - - .l-sub-section - h3 blob - - - pre.prettyprint - code. - blob() - - :markdown - Not yet implemented - - - - - - - - .l-sub-section - h3 json - - - pre.prettyprint - code. - json() - - :markdown - Attempts to return body as parsed `JSON` object, or raises an exception. - - - - - - - - .l-sub-section - h3 text - - - pre.prettyprint - code. - text() - - :markdown - Returns the body as a string, presuming `toString()` can be called on the response body. - - - - - - - - .l-sub-section - h3 arrayBuffer - - - pre.prettyprint - code. - arrayBuffer() - - :markdown - Not yet implemented - - - - - - diff --git a/public/docs/js/latest/api/http/ResponseOptions-class.jade b/public/docs/js/latest/api/http/ResponseOptions-class.jade deleted file mode 100644 index d0ee637cd7..0000000000 --- a/public/docs/js/latest/api/http/ResponseOptions-class.jade +++ /dev/null @@ -1,112 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/base_response_options.ts (line 5) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({body, status, headers, statusText, type, url}?: ResponseOptionsArgs) - - :markdown - - - - - - - .l-sub-section - h3 body - - - :markdown - - - - - - - - .l-sub-section - h3 status - - - :markdown - - - - - - - - .l-sub-section - h3 headers - - - :markdown - - - - - - - - .l-sub-section - h3 statusText - - - :markdown - - - - - - - - .l-sub-section - h3 type - - - :markdown - - - - - - - - .l-sub-section - h3 url - - - :markdown - - - - - - - - .l-sub-section - h3 merge - - - pre.prettyprint - code. - merge(options?: ResponseOptionsArgs) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/ResponseOptionsArgs-interface.jade b/public/docs/js/latest/api/http/ResponseOptionsArgs-interface.jade deleted file mode 100644 index 948370a9c4..0000000000 --- a/public/docs/js/latest/api/http/ResponseOptionsArgs-interface.jade +++ /dev/null @@ -1,81 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/interfaces.ts (line 57) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 body? - - - :markdown - - - - - - - - .l-sub-section - h3 status? - - - :markdown - - - - - - - - .l-sub-section - h3 statusText? - - - :markdown - - - - - - - - .l-sub-section - h3 headers? - - - :markdown - - - - - - - - .l-sub-section - h3 type? - - - :markdown - - - - - - - - .l-sub-section - h3 url? - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/ResponseTypes-enum.jade b/public/docs/js/latest/api/http/ResponseTypes-enum.jade deleted file mode 100644 index 6338a67b65..0000000000 --- a/public/docs/js/latest/api/http/ResponseTypes-enum.jade +++ /dev/null @@ -1,69 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/enums.ts (line 61) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 Basic - - - :markdown - - - - - - - - .l-sub-section - h3 Cors - - - :markdown - - - - - - - - .l-sub-section - h3 Default - - - :markdown - - - - - - - - .l-sub-section - h3 Error - - - :markdown - - - - - - - - .l-sub-section - h3 Opaque - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/URLSearchParams-class.jade b/public/docs/js/latest/api/http/URLSearchParams-class.jade deleted file mode 100644 index b179688d20..0000000000 --- a/public/docs/js/latest/api/http/URLSearchParams-class.jade +++ /dev/null @@ -1,224 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/url_search_params.ts (line 26) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(rawParams?: string) - - :markdown - - - - - - - .l-sub-section - h3 paramsMap - - - :markdown - - - - - - - - .l-sub-section - h3 rawParams - - - :markdown - - - - - - - - .l-sub-section - h3 clone - - - pre.prettyprint - code. - clone() - - :markdown - - - - - - - - .l-sub-section - h3 has - - - pre.prettyprint - code. - has(param: string) - - :markdown - - - - - - - - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(param: string) - - :markdown - - - - - - - - .l-sub-section - h3 getAll - - - pre.prettyprint - code. - getAll(param: string) - - :markdown - - - - - - - - .l-sub-section - h3 set - - - pre.prettyprint - code. - set(param: string, val: string) - - :markdown - - - - - - - - .l-sub-section - h3 setAll - - - pre.prettyprint - code. - setAll(searchParams: URLSearchParams) - - :markdown - - - - - - - - .l-sub-section - h3 append - - - pre.prettyprint - code. - append(param: string, val: string) - - :markdown - - - - - - - - .l-sub-section - h3 appendAll - - - pre.prettyprint - code. - appendAll(searchParams: URLSearchParams) - - :markdown - - - - - - - - .l-sub-section - h3 replaceAll - - - pre.prettyprint - code. - replaceAll(searchParams: URLSearchParams) - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - - - .l-sub-section - h3 delete - - - pre.prettyprint - code. - delete(param: string) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/XHRBackend-class.jade b/public/docs/js/latest/api/http/XHRBackend-class.jade deleted file mode 100644 index cb88bca574..0000000000 --- a/public/docs/js/latest/api/http/XHRBackend-class.jade +++ /dev/null @@ -1,50 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/backends/xhr_backend.ts (line 80) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_browserXHR: BrowserXhr, _baseResponseOptions: ResponseOptions) - - :markdown - - - - - - - .l-sub-section - h3 createConnection - - - pre.prettyprint - code. - createConnection(request: Request) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/http/XHRConnection-class.jade b/public/docs/js/latest/api/http/XHRConnection-class.jade deleted file mode 100644 index dab4c273ec..0000000000 --- a/public/docs/js/latest/api/http/XHRConnection-class.jade +++ /dev/null @@ -1,79 +0,0 @@ - -p.location-badge. - exported from angular2/http - defined in angular2/src/http/backends/xhr_backend.ts (line 9) - -:markdown - The http module provides services to perform http requests. To get started, see the Http - class. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(req: Request, browserXHR: BrowserXhr, baseResponseOptions?: ResponseOptions) - - :markdown - - - - - - - .l-sub-section - h3 request - - - :markdown - - - - - - - - .l-sub-section - h3 response - - - :markdown - Response EventEmitter which emits a single Response value on load event of - `XMLHttpRequest`. - - - - - - - - .l-sub-section - h3 readyState - - - :markdown - - - - - - - - .l-sub-section - h3 dispose - - - pre.prettyprint - code. - dispose() - - :markdown - Calls abort on the underlying XMLHttpRequest. - - - - - - diff --git a/public/docs/js/latest/api/http/_data.json b/public/docs/js/latest/api/http/_data.json deleted file mode 100644 index c28bd68171..0000000000 --- a/public/docs/js/latest/api/http/_data.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "index" : { - "title" : "Http", - "intro" : "The http module provides services to perform http requests. To get started, see the Httpclass." - }, - - "MockConnection-class" : { - "title" : "MockConnection" - }, - - "MockBackend-class" : { - "title" : "MockBackend" - }, - - "Request-class" : { - "title" : "Request" - }, - - "Response-class" : { - "title" : "Response" - }, - - "RequestOptionsArgs-interface" : { - "title" : "RequestOptionsArgs" - }, - - "ResponseOptionsArgs-interface" : { - "title" : "ResponseOptionsArgs" - }, - - "Connection-class" : { - "title" : "Connection" - }, - - "ConnectionBackend-class" : { - "title" : "ConnectionBackend" - }, - - "BrowserXhr-class" : { - "title" : "BrowserXhr" - }, - - "BaseRequestOptions-class" : { - "title" : "BaseRequestOptions" - }, - - "RequestOptions-class" : { - "title" : "RequestOptions" - }, - - "BaseResponseOptions-class" : { - "title" : "BaseResponseOptions" - }, - - "ResponseOptions-class" : { - "title" : "ResponseOptions" - }, - - "XHRBackend-class" : { - "title" : "XHRBackend" - }, - - "XHRConnection-class" : { - "title" : "XHRConnection" - }, - - "JSONPBackend-class" : { - "title" : "JSONPBackend" - }, - - "JSONPConnection-class" : { - "title" : "JSONPConnection" - }, - - "Http-class" : { - "title" : "Http" - }, - - "Jsonp-class" : { - "title" : "Jsonp" - }, - - "Headers-class" : { - "title" : "Headers" - }, - - "ResponseTypes-enum" : { - "title" : "ResponseTypes" - }, - - "ReadyStates-enum" : { - "title" : "ReadyStates" - }, - - "RequestMethods-enum" : { - "title" : "RequestMethods" - }, - - "RequestCredentialsOpts-enum" : { - "title" : "RequestCredentialsOpts" - }, - - "RequestCacheOpts-enum" : { - "title" : "RequestCacheOpts" - }, - - "RequestModesOpts-enum" : { - "title" : "RequestModesOpts" - }, - - "URLSearchParams-class" : { - "title" : "URLSearchParams" - }, - - "HTTP_BINDINGS-const" : { - "title" : "HTTP_BINDINGS" - }, - - "JSONP_BINDINGS-const" : { - "title" : "JSONP_BINDINGS" - } -} diff --git a/public/docs/js/latest/api/http/index.jade b/public/docs/js/latest/api/http/index.jade deleted file mode 100644 index 104ccc1066..0000000000 --- a/public/docs/js/latest/api/http/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/http.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/metadata/AfterContentChecked-interface.jade b/public/docs/js/latest/api/metadata/AfterContentChecked-interface.jade deleted file mode 100644 index aa241c8cf9..0000000000 --- a/public/docs/js/latest/api/metadata/AfterContentChecked-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 37) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 afterContentChecked - - - pre.prettyprint - code. - afterContentChecked() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/AfterContentInit-interface.jade b/public/docs/js/latest/api/metadata/AfterContentInit-interface.jade deleted file mode 100644 index 6f19f0120c..0000000000 --- a/public/docs/js/latest/api/metadata/AfterContentInit-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 30) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 afterContentInit - - - pre.prettyprint - code. - afterContentInit() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/AfterViewChecked-interface.jade b/public/docs/js/latest/api/metadata/AfterViewChecked-interface.jade deleted file mode 100644 index 054569cb4a..0000000000 --- a/public/docs/js/latest/api/metadata/AfterViewChecked-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 51) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 afterViewChecked - - - pre.prettyprint - code. - afterViewChecked() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/AfterViewInit-interface.jade b/public/docs/js/latest/api/metadata/AfterViewInit-interface.jade deleted file mode 100644 index e6971c5f03..0000000000 --- a/public/docs/js/latest/api/metadata/AfterViewInit-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 44) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 afterViewInit - - - pre.prettyprint - code. - afterViewInit() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/Attribute-var.jade b/public/docs/js/latest/api/metadata/Attribute-var.jade deleted file mode 100644 index cb91bd579e..0000000000 --- a/public/docs/js/latest/api/metadata/Attribute-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 419) - - :markdown - AttributeMetadata factory function. - - - diff --git a/public/docs/js/latest/api/metadata/AttributeFactory-interface.jade b/public/docs/js/latest/api/metadata/AttributeFactory-interface.jade deleted file mode 100644 index 646e2e001a..0000000000 --- a/public/docs/js/latest/api/metadata/AttributeFactory-interface.jade +++ /dev/null @@ -1,11 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 271) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. diff --git a/public/docs/js/latest/api/metadata/AttributeMetadata-class.jade b/public/docs/js/latest/api/metadata/AttributeMetadata-class.jade deleted file mode 100644 index 9ec63dcc8d..0000000000 --- a/public/docs/js/latest/api/metadata/AttributeMetadata-class.jade +++ /dev/null @@ -1,77 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata/di.ts (line 10) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(attributeName: string) - - :markdown - - - - - - - .l-sub-section - h3 attributeName - - - :markdown - - - - - - - - .l-sub-section - h3 token - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/Class-function.jade b/public/docs/js/latest/api/metadata/Class-function.jade deleted file mode 100644 index 96295052f7..0000000000 --- a/public/docs/js/latest/api/metadata/Class-function.jade +++ /dev/null @@ -1,98 +0,0 @@ - -.l-main-section - h2(class="function export") Class - - - pre.prettyprint - code. - Class(clsDef: ClassDefinition) : Type - - - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/util/decorators.ts (line 119) - - :markdown - Provides a way for expressing ES6 classes with parameter annotations in ES5. - - ## Basic Example - - ``` - var Greeter = ng.Class({ - constructor: function(name) { - this.name = name; - }, - - greet: function() { - alert('Hello ' + this.name + '!'); - } - }); - ``` - - is equivalent to ES6: - - ``` - class Greeter { - constructor(name) { - this.name = name; - } - - greet() { - alert('Hello ' + this.name + '!'); - } - } - ``` - - or equivalent to ES5: - - ``` - var Greeter = function (name) { - this.name = name; - } - - Greeter.prototype.greet = function () { - alert('Hello ' + this.name + '!'); - } - ``` - - ## Example with parameter annotations - - ``` - var MyService = neg.Class({ - constructor: [String, [new Query(), QueryList], function(name, queryList) { - ... - }]; - }); - ``` - - is equivalent to ES6: - - ``` - class MyService { - constructor(name: string, @Query() queryList: QueryList) { - ... - } - } - ``` - - ## Example with inheritance - - ``` - var Shape = ng.Class({ - constructor: (color) { - this.color = color; - } - }); - - var Square = ng.Class({ - extends: Shape, - constructor: function(color, size) { - Shape.call(this, color); - this.size = size; - } - }); - ``` - - - - diff --git a/public/docs/js/latest/api/metadata/ClassDefinition-interface.jade b/public/docs/js/latest/api/metadata/ClassDefinition-interface.jade deleted file mode 100644 index 1f48e6ba68..0000000000 --- a/public/docs/js/latest/api/metadata/ClassDefinition-interface.jade +++ /dev/null @@ -1,44 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/util/decorators.ts (line 1) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 extends? - - - :markdown - Optional argument for specifying the superclass. - - - - - - - - .l-sub-section - h3 constructor - - - :markdown - Required constructor function for a class. - - The function may be optionally wrapped in an `Array`, in which case additional parameter - annotations may be specified. - The number of arguments and the number of parameter annotations must match. - - See Class for example of usage. - - - - - - diff --git a/public/docs/js/latest/api/metadata/Component-var.jade b/public/docs/js/latest/api/metadata/Component-var.jade deleted file mode 100644 index d9da931b52..0000000000 --- a/public/docs/js/latest/api/metadata/Component-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 403) - - :markdown - ComponentMetadata factory function. - - - diff --git a/public/docs/js/latest/api/metadata/ComponentDecorator-interface.jade b/public/docs/js/latest/api/metadata/ComponentDecorator-interface.jade deleted file mode 100644 index 363b57c386..0000000000 --- a/public/docs/js/latest/api/metadata/ComponentDecorator-interface.jade +++ /dev/null @@ -1,37 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 46) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 View - - - pre.prettyprint - code. - View(obj: { - templateUrl?: string, - template?: string, - directives?: Array<Type | any | any[]>, - pipes?: Array<Type | any | any[]>, - renderer?: string, - styles?: string[], - styleUrls?: string[], - }) - - :markdown - Chain ViewMetadata annotation. - - - - - - diff --git a/public/docs/js/latest/api/metadata/ComponentFactory-interface.jade b/public/docs/js/latest/api/metadata/ComponentFactory-interface.jade deleted file mode 100644 index cc794d10da..0000000000 --- a/public/docs/js/latest/api/metadata/ComponentFactory-interface.jade +++ /dev/null @@ -1,11 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 139) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. diff --git a/public/docs/js/latest/api/metadata/ComponentMetadata-class.jade b/public/docs/js/latest/api/metadata/ComponentMetadata-class.jade deleted file mode 100644 index 781ec8762d..0000000000 --- a/public/docs/js/latest/api/metadata/ComponentMetadata-class.jade +++ /dev/null @@ -1,118 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata/directives.ts (line 728) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({selector, properties, events, host, exportAs, lifecycle, bindings, viewBindings, - changeDetection = ChangeDetectionStrategy.Default, compileChildren = true}?: { - selector?: string, - properties?: string[], - events?: string[], - host?: StringMap<string, string>, - lifecycle?: LifecycleEvent[], - bindings?: any[], - exportAs?: string, - compileChildren?: boolean, - viewBindings?: any[], - changeDetection?: ChangeDetectionStrategy, - }) - - :markdown - - - - - - - .l-sub-section - h3 changeDetection - - - :markdown - Defines the used change detection strategy. - - When a component is instantiated, Angular creates a change detector, which is responsible for - propagating the component's bindings. - - The `changeDetection` property defines, whether the change detection will be checked every time - or only when the component tells it to do so. - - - - - - - - .l-sub-section - h3 viewBindings - - - :markdown - Defines the set of injectable objects that are visible to its view dom children. - - ## Simple Example - - Here is an example of a class that can be injected: - - ``` - class Greeter { - greet(name:string) { - return 'Hello ' + name + '!'; - } - } - - @Directive({ - selector: 'needs-greeter' - }) - class NeedsGreeter { - greeter:Greeter; - - constructor(greeter:Greeter) { - this.greeter = greeter; - } - } - - @Component({ - selector: 'greet', - viewBindings: [ - Greeter - ] - }) - @View({ - template: ``, - directives: [NeedsGreeter] - }) - class HelloWorld { - } - - ``` - - - - - - diff --git a/public/docs/js/latest/api/metadata/Directive-var.jade b/public/docs/js/latest/api/metadata/Directive-var.jade deleted file mode 100644 index 41ec79901b..0000000000 --- a/public/docs/js/latest/api/metadata/Directive-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 408) - - :markdown - DirectiveMetadata factory function. - - - diff --git a/public/docs/js/latest/api/metadata/DirectiveDecorator-interface.jade b/public/docs/js/latest/api/metadata/DirectiveDecorator-interface.jade deleted file mode 100644 index 0a5d03833c..0000000000 --- a/public/docs/js/latest/api/metadata/DirectiveDecorator-interface.jade +++ /dev/null @@ -1,11 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 39) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. diff --git a/public/docs/js/latest/api/metadata/DirectiveFactory-interface.jade b/public/docs/js/latest/api/metadata/DirectiveFactory-interface.jade deleted file mode 100644 index 401cbd63a6..0000000000 --- a/public/docs/js/latest/api/metadata/DirectiveFactory-interface.jade +++ /dev/null @@ -1,11 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 86) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. diff --git a/public/docs/js/latest/api/metadata/DirectiveMetadata-class.jade b/public/docs/js/latest/api/metadata/DirectiveMetadata-class.jade deleted file mode 100644 index 0c28e61b7b..0000000000 --- a/public/docs/js/latest/api/metadata/DirectiveMetadata-class.jade +++ /dev/null @@ -1,432 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata/directives.ts (line 3) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({ - selector, properties, events, host, lifecycle, bindings, exportAs, - compileChildren = true, - }?: { - selector?: string, - properties?: string[], - events?: string[], - host?: StringMap<string, string>, - lifecycle?: LifecycleEvent[], - bindings?: any[], - exportAs?: string, - compileChildren?: boolean, - }) - - :markdown - - - - - - - .l-sub-section - h3 selector - - - :markdown - The CSS selector that triggers the instantiation of a directive. - - Angular only allows directives to trigger on CSS selectors that do not cross element - boundaries. - - `selector` may be declared as one of the following: - - - `element-name`: select by element name. - - `.class`: select by class name. - - `[attribute]`: select by attribute name. - - `[attribute=value]`: select by attribute name and value. - - `:not(sub_selector)`: select only if the element does not match the `sub_selector`. - - `selector1, selector2`: select if either `selector1` or `selector2` matches. - - - - - Suppose we have a directive with an `input[type=text]` selector. - - And the following HTML: - - ```html -
- - - - ``` - - The directive would only be instantiated on the `` element. - - - - - - - - .l-sub-section - h3 properties - - - :markdown - Enumerates the set of properties that accept data binding for a directive. - - The `properties` property defines a set of `directiveProperty` to `bindingProperty` - configuration: - - - `directiveProperty` specifies the component property where the value is written. - - `bindingProperty` specifies the DOM property where the value is read from. - - You can include a PipeMetadata when specifying a `bindingProperty` to allow for data - transformation and structural change detection of the value. These pipes will be evaluated in - the context of this component. - - ## Syntax - - There is no need to specify both `directiveProperty` and `bindingProperty` when they both have - the same value. - - ``` - @Directive({ - properties: [ - 'propertyName', // shorthand notation for 'propertyName: propertyName' - 'directiveProperty1: bindingProperty1', - 'directiveProperty2: bindingProperty2 | pipe1 | ...', - ... - ] - } - ``` - - - ## Basic Property Binding - - We can easily build a simple `Tooltip` directive that exposes a `tooltip` property, which can - be used in templates with standard Angular syntax. For example: - - ``` - @Directive({ - selector: '[tooltip]', - properties: [ - 'text: tooltip' - ] - }) - class Tooltip { - set text(value: string) { - // This will get called every time with the new value when the 'tooltip' property changes - } - } - ``` - - We can then bind to the `tooltip' property as either an expression (`someExpression`) or as a - string literal, as shown in the HTML template below: - - ```html -
...
-
...
- ``` - - Whenever the `someExpression` expression changes, the `properties` declaration instructs - Angular to update the `Tooltip`'s `text` property. - - ### Bindings With Pipes - - You can use pipes in bindings, as follows: - - ```html -
- ``` - - - - - - - - .l-sub-section - h3 events - - - :markdown - Enumerates the set of emitted events. - - ## Syntax - - ``` - @Component({ - events: ['statusChange'] - }) - class TaskComponent { - statusChange: EventEmitter; - - constructor() { - this.statusChange = new EventEmitter(); - } - - onComplete() { - this.statusChange.next('completed'); - } - } - ``` - - Use `propertyName: eventName` when the event emitter property name is different from the name - of the emitted event: - - ``` - @Component({ - events: ['status: statusChange'] - }) - class TaskComponent { - status: EventEmitter; - - constructor() { - this.status = new EventEmitter(); - } - - onComplete() { - this.status.next('completed'); - } - } - ``` - - - - - - - - .l-sub-section - h3 host - - - :markdown - Specifiy the events, actions, properties and attributes related to the host element. - - ## Events - - Specifies which DOM hostListeners a directive listens to via a set of `(event)` to `method` - key-value pairs: - - - `event1`: the DOM event that the directive listens to. - - `statement`: the statement to execute when the event occurs. - If the evalutation of the statement returns `false`, then `preventDefault`is applied on the DOM - event. - - To listen to global events, a target must be added to the event name. - The target can be `window`, `document` or `body`. - - When writing a directive event binding, you can also refer to the following local variables: - - `$event`: Current event object which triggered the event. - - `$target`: The source of the event. This will be either a DOM element or an Angular - directive. (will be implemented in later release) - - ## Syntax - - ``` - @Directive({ - host: { - '(event1)': 'onMethod1(arguments)', - '(target:event2)': 'onMethod2(arguments)', - ... - } - } - ``` - - ## Basic Event Binding: - - Suppose you want to write a directive that reacts to `change` events in the DOM and on - `resize` events in window. - You would define the event binding as follows: - - ``` - @Directive({ - selector: 'input', - host: { - '(change)': 'onChange($event)', - '(window:resize)': 'onResize($event)' - } - }) - class InputDirective { - onChange(event:Event) { - // invoked when the input element fires the 'change' event - } - onResize(event:Event) { - // invoked when the window fires the 'resize' event - } - } - ``` - - ## Properties - - Specifies which DOM properties a directives updates. - - ## Syntax - - ``` - @Directive({ - selector: 'input', - host: { - '[prop]': 'expression' - } - }) - class InputDirective { - value:string; - } - ``` - - In this example the prop property of the host element is updated with the expression value - every time it changes. - - ## Attributes - - Specifies static attributes that should be propagated to a host element. Attributes specified - in `hostAttributes` are propagated only if a given attribute is not present on a host element. - - ## Syntax - - ``` - @Directive({ - selector: '[my-button]', - host: { - 'role': 'button' - } - }) - class MyButton { - } - ``` - - In this example using `my-button` directive (ex.: `
`) on a host element - (here: `
` ) will ensure that this element will get the "button" role. - - - - - - - - .l-sub-section - h3 lifecycle - - - :markdown - Specifies which lifecycle should be notified to the directive. - - See LifecycleEvent for details. - - - - - - - - .l-sub-section - h3 compileChildren - - - :markdown - If set to false the compiler does not compile the children of this directive. - - - - - - - - .l-sub-section - h3 bindings - - - :markdown - Defines the set of injectable objects that are visible to a Directive and its light dom - children. - - ## Simple Example - - Here is an example of a class that can be injected: - - ``` - class Greeter { - greet(name:string) { - return 'Hello ' + name + '!'; - } - } - - @Directive({ - selector: 'greet', - bindings: [ - Greeter - ] - }) - class HelloWorld { - greeter:Greeter; - - constructor(greeter:Greeter) { - this.greeter = greeter; - } - } - ``` - - - - - - - - .l-sub-section - h3 exportAs - - - :markdown - Defines the name that can be used in the template to assign this directive to a variable. - - ## Simple Example - - ``` - @Directive({ - selector: 'child-dir', - exportAs: 'child' - }) - class ChildDir { - } - - @Component({ - selector: 'main', - }) - @View({ - template: ``, - directives: [ChildDir] - }) - class MainComponent { - } - - ``` - - - - - - diff --git a/public/docs/js/latest/api/metadata/DoCheck-interface.jade b/public/docs/js/latest/api/metadata/DoCheck-interface.jade deleted file mode 100644 index aacd061582..0000000000 --- a/public/docs/js/latest/api/metadata/DoCheck-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 18) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 doCheck - - - pre.prettyprint - code. - doCheck() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/LifecycleEvent-enum.jade b/public/docs/js/latest/api/metadata/LifecycleEvent-enum.jade deleted file mode 100644 index 65855d6aa6..0000000000 --- a/public/docs/js/latest/api/metadata/LifecycleEvent-enum.jade +++ /dev/null @@ -1,264 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata/directives.ts (line 848) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 OnInit - - - :markdown - Notify a directive when it has been checked the first time. - - This method is called right after the directive's bindings have been checked, - and before any of its children's bindings have been checked. - - It is invoked only once. - - - - ``` - @Directive({ - selector: '[class-set]', - lifecycle: [LifecycleEvent.OnInit] - }) - class ClassSet { - onInit() { - } - } - ``` - - - - - - - - .l-sub-section - h3 OnDestroy - - - :markdown - Notify a directive whenever a ViewMetadata that contains it is destroyed. - - - - ``` - @Directive({ - ..., - lifecycle: [LifecycleEvent.OnDestroy] - }) - class ClassSet { - onDestroy() { - // invoked to notify directive of the containing view destruction. - } - } - ``` - - - - - - - - .l-sub-section - h3 OnChanges - - - :markdown - Notify a directive when any of its bindings have changed. - - This method is called right after the directive's bindings have been checked, - and before any of its children's bindings have been checked. - - It is invoked only if at least one of the directive's bindings has changed. - - : - - ``` - @Directive({ - selector: '[class-set]', - properties: [ - 'propA', - 'propB' - ], - lifecycle: [LifecycleEvent.OnChanges] - }) - class ClassSet { - propA; - propB; - onChanges(changes:{[idx: string, PropertyUpdate]}) { - // This will get called after any of the properties have been updated. - if (changes['propA']) { - // if propA was updated - } - if (changes['propA']) { - // if propB was updated - } - } - } - ``` - - - - - - - - .l-sub-section - h3 DoCheck - - - :markdown - Notify a directive when it has been checked. - - This method is called right after the directive's bindings have been checked, - and before any of its children's bindings have been checked. - - It is invoked every time even when none of the directive's bindings has changed. - - - - ``` - @Directive({ - selector: '[class-set]', - lifecycle: [LifecycleEvent.DoCheck] - }) - class ClassSet { - doCheck() { - } - } - ``` - - - - - - - - .l-sub-section - h3 AfterContentInit - - - :markdown - Notify a directive when the bindings of all its content children have been checked the first - time (whether they - have changed or not). - - - - ``` - @Directive({ - selector: '[class-set]', - lifecycle: [LifecycleEvent.AfterContentInit] - }) - class ClassSet { - - afterContentInit() { - } - - } - ``` - - - - - - - - .l-sub-section - h3 AfterContentChecked - - - :markdown - Notify a directive when the bindings of all its content children have been checked (whether - they - have changed or not). - - - - ``` - @Directive({ - selector: '[class-set]', - lifecycle: [LifecycleEvent.AfterContentChecked] - }) - class ClassSet { - - afterContentChecked() { - } - - } - ``` - - - - - - - - .l-sub-section - h3 AfterViewInit - - - :markdown - Notify a directive when the bindings of all its view children have been checked the first time - (whether they - have changed or not). - - - - ``` - @Directive({ - selector: '[class-set]', - lifecycle: [LifecycleEvent.AfterViewInit] - }) - class ClassSet { - - afterViewInit() { - } - - } - ``` - - - - - - - - .l-sub-section - h3 AfterViewChecked - - - :markdown - Notify a directive when the bindings of all its view children have been checked (whether they - have changed or not). - - - - ``` - @Directive({ - selector: '[class-set]', - lifecycle: [LifecycleEvent.AfterViewChecked] - }) - class ClassSet { - - afterViewChecked() { - } - - } - ``` - - - - - - diff --git a/public/docs/js/latest/api/metadata/OnChanges-interface.jade b/public/docs/js/latest/api/metadata/OnChanges-interface.jade deleted file mode 100644 index b82f662d52..0000000000 --- a/public/docs/js/latest/api/metadata/OnChanges-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 7) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 onChanges - - - pre.prettyprint - code. - onChanges(changes: StringMap<string, any>) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/OnDestroy-interface.jade b/public/docs/js/latest/api/metadata/OnDestroy-interface.jade deleted file mode 100644 index d221e232bd..0000000000 --- a/public/docs/js/latest/api/metadata/OnDestroy-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 24) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/OnInit-interface.jade b/public/docs/js/latest/api/metadata/OnInit-interface.jade deleted file mode 100644 index 6c1462b2b5..0000000000 --- a/public/docs/js/latest/api/metadata/OnInit-interface.jade +++ /dev/null @@ -1,28 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/compiler/interfaces.ts (line 12) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 onInit - - - pre.prettyprint - code. - onInit() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/Pipe-var.jade b/public/docs/js/latest/api/metadata/Pipe-var.jade deleted file mode 100644 index 37ddbb57c4..0000000000 --- a/public/docs/js/latest/api/metadata/Pipe-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 435) - - :markdown - PipeMetadata factory function. - - - diff --git a/public/docs/js/latest/api/metadata/PipeFactory-interface.jade b/public/docs/js/latest/api/metadata/PipeFactory-interface.jade deleted file mode 100644 index 85d36e7a6d..0000000000 --- a/public/docs/js/latest/api/metadata/PipeFactory-interface.jade +++ /dev/null @@ -1,11 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 373) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. diff --git a/public/docs/js/latest/api/metadata/PipeMetadata-class.jade b/public/docs/js/latest/api/metadata/PipeMetadata-class.jade deleted file mode 100644 index 52d7d110ad..0000000000 --- a/public/docs/js/latest/api/metadata/PipeMetadata-class.jade +++ /dev/null @@ -1,49 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata/directives.ts (line 1048) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({name}: {name: string}) - - :markdown - - - - - - - .l-sub-section - h3 name - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/Query-var.jade b/public/docs/js/latest/api/metadata/Query-var.jade deleted file mode 100644 index 99c7ee345d..0000000000 --- a/public/docs/js/latest/api/metadata/Query-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 424) - - :markdown - QueryMetadata factory function. - - - diff --git a/public/docs/js/latest/api/metadata/QueryFactory-interface.jade b/public/docs/js/latest/api/metadata/QueryFactory-interface.jade deleted file mode 100644 index 0dcb31e775..0000000000 --- a/public/docs/js/latest/api/metadata/QueryFactory-interface.jade +++ /dev/null @@ -1,11 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 322) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. diff --git a/public/docs/js/latest/api/metadata/QueryMetadata-class.jade b/public/docs/js/latest/api/metadata/QueryMetadata-class.jade deleted file mode 100644 index ee55f2d851..0000000000 --- a/public/docs/js/latest/api/metadata/QueryMetadata-class.jade +++ /dev/null @@ -1,113 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata/di.ts (line 51) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_selector: Type | string, {descendants = false}?: {descendants?: boolean}) - - :markdown - - - - - - - .l-sub-section - h3 descendants - - - :markdown - - - - - - - - .l-sub-section - h3 isViewQuery - - - :markdown - - - - - - - - .l-sub-section - h3 selector - - - :markdown - - - - - - - - .l-sub-section - h3 isVarBindingQuery - - - :markdown - - - - - - - - .l-sub-section - h3 varBindings - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/metadata/TypeDecorator-interface.jade b/public/docs/js/latest/api/metadata/TypeDecorator-interface.jade deleted file mode 100644 index 4ba207a2e4..0000000000 --- a/public/docs/js/latest/api/metadata/TypeDecorator-interface.jade +++ /dev/null @@ -1,44 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/util/decorators.ts (line 22) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 annotations - - - :markdown - Storage for the accumulated annotations so far used by the DSL syntax. - - Used by Class to annotate the generated class. - - - - - - - - .l-sub-section - h3 Class - - - pre.prettyprint - code. - Class(obj: ClassDefinition) - - :markdown - Generate a class from the definition and annotate it with TypeDecorator. - - - - - - diff --git a/public/docs/js/latest/api/metadata/View-var.jade b/public/docs/js/latest/api/metadata/View-var.jade deleted file mode 100644 index 747d6ddd59..0000000000 --- a/public/docs/js/latest/api/metadata/View-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 413) - - :markdown - ViewMetadata factory function. - - - diff --git a/public/docs/js/latest/api/metadata/ViewDecorator-interface.jade b/public/docs/js/latest/api/metadata/ViewDecorator-interface.jade deleted file mode 100644 index 742af707ea..0000000000 --- a/public/docs/js/latest/api/metadata/ViewDecorator-interface.jade +++ /dev/null @@ -1,37 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 66) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 View - - - pre.prettyprint - code. - View(obj: { - templateUrl?: string, - template?: string, - directives?: Array<Type | any | any[]>, - pipes?: Array<Type | any | any[]>, - renderer?: string, - styles?: string[], - styleUrls?: string[], - }) - - :markdown - Chain ViewMetadata annotation. - - - - - - diff --git a/public/docs/js/latest/api/metadata/ViewEncapsulation-enum.jade b/public/docs/js/latest/api/metadata/ViewEncapsulation-enum.jade deleted file mode 100644 index d163c2f374..0000000000 --- a/public/docs/js/latest/api/metadata/ViewEncapsulation-enum.jade +++ /dev/null @@ -1,52 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/render/api.ts (line 286) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. -.l-main-section - h2 Members - .l-sub-section - h3 Emulated - - - :markdown - Emulate scoping of styles by preprocessing the style rules - and adding additional attributes to elements. This is the default. - - - - - - - - .l-sub-section - h3 Native - - - :markdown - Uses the native mechanism of the renderer. For the DOM this means creating a ShadowRoot. - - - - - - - - .l-sub-section - h3 None - - - :markdown - Don't scope the template nor the styles. - - - - - - diff --git a/public/docs/js/latest/api/metadata/ViewFactory-interface.jade b/public/docs/js/latest/api/metadata/ViewFactory-interface.jade deleted file mode 100644 index 8e1cb9a1fc..0000000000 --- a/public/docs/js/latest/api/metadata/ViewFactory-interface.jade +++ /dev/null @@ -1,11 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 209) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. diff --git a/public/docs/js/latest/api/metadata/ViewMetadata-class.jade b/public/docs/js/latest/api/metadata/ViewMetadata-class.jade deleted file mode 100644 index b55327300f..0000000000 --- a/public/docs/js/latest/api/metadata/ViewMetadata-class.jade +++ /dev/null @@ -1,161 +0,0 @@ - -p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata/view.ts (line 4) - -:markdown - Annotations provide the additional information that Angular requires in order to run your - application. This module - contains ComponentMetadata, DirectiveMetadata, and ViewMetadata - annotations, as well as - the Host annotation that is used by Angular to resolve dependencies. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({templateUrl, template, directives, pipes, encapsulation, styles, styleUrls}?: { - templateUrl?: string, - template?: string, - directives?: Array<Type | any | any[]>, - pipes?: Array<Type | any | any[]>, - encapsulation?: ViewEncapsulation, - styles?: string[], - styleUrls?: string[], - }) - - :markdown - - - - - - - .l-sub-section - h3 templateUrl - - - :markdown - Specifies a template URL for an angular component. - - NOTE: either `templateUrl` or `template` should be used, but not both. - - - - - - - - .l-sub-section - h3 template - - - :markdown - Specifies an inline template for an angular component. - - NOTE: either `templateUrl` or `template` should be used, but not both. - - - - - - - - .l-sub-section - h3 styleUrls - - - :markdown - Specifies stylesheet URLs for an angular component. - - - - - - - - .l-sub-section - h3 styles - - - :markdown - Specifies an inline stylesheet for an angular component. - - - - - - - - .l-sub-section - h3 directives - - - :markdown - Specifies a list of directives that can be used within a template. - - Directives must be listed explicitly to provide proper component encapsulation. - - - - ```javascript - @Component({ - selector: 'my-component' - }) - @View({ - directives: [For] - template: ' -
    -
  • {{item}}
  • -
' - }) - class MyComponent { - } - ``` - - - - - - - - .l-sub-section - h3 pipes - - - :markdown - - - - - - - - .l-sub-section - h3 encapsulation - - - :markdown - Specify how the template and the styles should be encapsulated. - The default is `ViewEncapsulation.Emulated` if the view - has styles, - otherwise `ViewEncapsulation.None`. - - - - - - diff --git a/public/docs/js/latest/api/metadata/ViewQuery-var.jade b/public/docs/js/latest/api/metadata/ViewQuery-var.jade deleted file mode 100644 index b0957f22ee..0000000000 --- a/public/docs/js/latest/api/metadata/ViewQuery-var.jade +++ /dev/null @@ -1,11 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/metadata - defined in angular2/src/core/metadata.ts (line 430) - - :markdown - ViewQueryMetadata factory function. - - - diff --git a/public/docs/js/latest/api/metadata/_data.json b/public/docs/js/latest/api/metadata/_data.json deleted file mode 100644 index e8e58f451b..0000000000 --- a/public/docs/js/latest/api/metadata/_data.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "index" : { - "title" : "Metadata", - "intro" : "Annotations provide the additional information that Angular requires in order to run yourapplication. This modulecontains ComponentMetadata, DirectiveMetadata, and ViewMetadataannotations, as well asthe Host annotation that is used by Angular to resolve dependencies." - }, - - "ComponentMetadata-class" : { - "title" : "ComponentMetadata" - }, - - "DirectiveMetadata-class" : { - "title" : "DirectiveMetadata" - }, - - "PipeMetadata-class" : { - "title" : "PipeMetadata" - }, - - "LifecycleEvent-enum" : { - "title" : "LifecycleEvent" - }, - - "ViewMetadata-class" : { - "title" : "ViewMetadata" - }, - - "ViewEncapsulation-enum" : { - "title" : "ViewEncapsulation" - }, - - "QueryMetadata-class" : { - "title" : "QueryMetadata" - }, - - "AttributeMetadata-class" : { - "title" : "AttributeMetadata" - }, - - "Attribute-var" : { - "title" : "Attribute", - "varType" : "AttributeFactory" - }, - - "AttributeFactory-interface" : { - "title" : "AttributeFactory" - }, - - "Component-var" : { - "title" : "Component", - "varType" : "ComponentFactory" - }, - - "ComponentDecorator-interface" : { - "title" : "ComponentDecorator" - }, - - "ComponentFactory-interface" : { - "title" : "ComponentFactory" - }, - - "Directive-var" : { - "title" : "Directive", - "varType" : "DirectiveFactory" - }, - - "DirectiveDecorator-interface" : { - "title" : "DirectiveDecorator" - }, - - "DirectiveFactory-interface" : { - "title" : "DirectiveFactory" - }, - - "View-var" : { - "title" : "View", - "varType" : "ViewFactory" - }, - - "ViewDecorator-interface" : { - "title" : "ViewDecorator" - }, - - "ViewFactory-interface" : { - "title" : "ViewFactory" - }, - - "Query-var" : { - "title" : "Query", - "varType" : "QueryFactory" - }, - - "QueryFactory-interface" : { - "title" : "QueryFactory" - }, - - "ViewQuery-var" : { - "title" : "ViewQuery", - "varType" : "QueryFactory" - }, - - "Pipe-var" : { - "title" : "Pipe", - "varType" : "PipeFactory" - }, - - "PipeFactory-interface" : { - "title" : "PipeFactory" - }, - - "AfterContentInit-interface" : { - "title" : "AfterContentInit" - }, - - "AfterContentChecked-interface" : { - "title" : "AfterContentChecked" - }, - - "AfterViewInit-interface" : { - "title" : "AfterViewInit" - }, - - "AfterViewChecked-interface" : { - "title" : "AfterViewChecked" - }, - - "OnChanges-interface" : { - "title" : "OnChanges" - }, - - "OnDestroy-interface" : { - "title" : "OnDestroy" - }, - - "OnInit-interface" : { - "title" : "OnInit" - }, - - "DoCheck-interface" : { - "title" : "DoCheck" - }, - - "Class-function" : { - "title" : "Class" - }, - - "ClassDefinition-interface" : { - "title" : "ClassDefinition" - }, - - "TypeDecorator-interface" : { - "title" : "TypeDecorator" - } -} diff --git a/public/docs/js/latest/api/metadata/index.jade b/public/docs/js/latest/api/metadata/index.jade deleted file mode 100644 index a3183b7a67..0000000000 --- a/public/docs/js/latest/api/metadata/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/metadata.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/pipes/AsyncPipe-class.jade b/public/docs/js/latest/api/pipes/AsyncPipe-class.jade deleted file mode 100644 index 7a0434fa76..0000000000 --- a/public/docs/js/latest/api/pipes/AsyncPipe-class.jade +++ /dev/null @@ -1,72 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/async_pipe.ts (line 33) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'async'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_ref: ChangeDetectorRef) - - :markdown - - - - - - - .l-sub-section - h3 onDestroy - - - pre.prettyprint - code. - onDestroy() - - :markdown - - - - - - - - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(obj: Observable | Promise<any>, args?: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/CurrencyPipe-class.jade b/public/docs/js/latest/api/pipes/CurrencyPipe-class.jade deleted file mode 100644 index 7c41ce884b..0000000000 --- a/public/docs/js/latest/api/pipes/CurrencyPipe-class.jade +++ /dev/null @@ -1,48 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/number_pipe.ts (line 117) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'currency'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: any, args: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/DEFAULT_PIPES-const.jade b/public/docs/js/latest/api/pipes/DEFAULT_PIPES-const.jade deleted file mode 100644 index a5f5d4edcf..0000000000 --- a/public/docs/js/latest/api/pipes/DEFAULT_PIPES-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/default_pipes.ts (line 26) - - :markdown - - - diff --git a/public/docs/js/latest/api/pipes/DEFAULT_PIPES_TOKEN-const.jade b/public/docs/js/latest/api/pipes/DEFAULT_PIPES_TOKEN-const.jade deleted file mode 100644 index aed5abfe0b..0000000000 --- a/public/docs/js/latest/api/pipes/DEFAULT_PIPES_TOKEN-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/default_pipes.ts (line 24) - - :markdown - - - diff --git a/public/docs/js/latest/api/pipes/DatePipe-class.jade b/public/docs/js/latest/api/pipes/DatePipe-class.jade deleted file mode 100644 index 5ef3714534..0000000000 --- a/public/docs/js/latest/api/pipes/DatePipe-class.jade +++ /dev/null @@ -1,64 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/date_pipe.ts (line 21) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'date'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: any, args: any[]) - - :markdown - - - - - - - - .l-sub-section - h3 supports - - - pre.prettyprint - code. - supports(obj: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/DecimalPipe-class.jade b/public/docs/js/latest/api/pipes/DecimalPipe-class.jade deleted file mode 100644 index 9768052c40..0000000000 --- a/public/docs/js/latest/api/pipes/DecimalPipe-class.jade +++ /dev/null @@ -1,48 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/number_pipe.ts (line 57) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'number'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: any, args: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/JsonPipe-class.jade b/public/docs/js/latest/api/pipes/JsonPipe-class.jade deleted file mode 100644 index a36a4640b2..0000000000 --- a/public/docs/js/latest/api/pipes/JsonPipe-class.jade +++ /dev/null @@ -1,48 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/json_pipe.ts (line 6) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'json'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: any, args?: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/LimitToPipe-class.jade b/public/docs/js/latest/api/pipes/LimitToPipe-class.jade deleted file mode 100644 index c1c3c4d16b..0000000000 --- a/public/docs/js/latest/api/pipes/LimitToPipe-class.jade +++ /dev/null @@ -1,57 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/limit_to_pipe.ts (line 16) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'limitTo'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 supports - - - pre.prettyprint - code. - supports(obj: any) - - :markdown - - - - - - - - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: any, args?: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/LowerCasePipe-class.jade b/public/docs/js/latest/api/pipes/LowerCasePipe-class.jade deleted file mode 100644 index 5de96a7577..0000000000 --- a/public/docs/js/latest/api/pipes/LowerCasePipe-class.jade +++ /dev/null @@ -1,48 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/lowercase_pipe.ts (line 8) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'lowercase'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: string, args?: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/PercentPipe-class.jade b/public/docs/js/latest/api/pipes/PercentPipe-class.jade deleted file mode 100644 index 184ee23a38..0000000000 --- a/public/docs/js/latest/api/pipes/PercentPipe-class.jade +++ /dev/null @@ -1,48 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/number_pipe.ts (line 95) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'percent'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: any, args: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/UpperCasePipe-class.jade b/public/docs/js/latest/api/pipes/UpperCasePipe-class.jade deleted file mode 100644 index 29133e3a54..0000000000 --- a/public/docs/js/latest/api/pipes/UpperCasePipe-class.jade +++ /dev/null @@ -1,48 +0,0 @@ - -p.location-badge. - exported from angular2/pipes - defined in angular2/src/core/pipes/uppercase_pipe.ts (line 7) - -:markdown - This module provides advanced support for extending change detection. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - - .l-sub-section - h3.annotation Pipe - pre.prettyprint - code. - @Pipe({name: 'uppercase'}) - - - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 transform - - - pre.prettyprint - code. - transform(value: string, args?: any[]) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/pipes/_data.json b/public/docs/js/latest/api/pipes/_data.json deleted file mode 100644 index e91aa40136..0000000000 --- a/public/docs/js/latest/api/pipes/_data.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "index" : { - "title" : "Pipes", - "intro" : "This module provides advanced support for extending change detection." - }, - - "UpperCasePipe-class" : { - "title" : "UpperCasePipe" - }, - - "LowerCasePipe-class" : { - "title" : "LowerCasePipe" - }, - - "AsyncPipe-class" : { - "title" : "AsyncPipe" - }, - - "JsonPipe-class" : { - "title" : "JsonPipe" - }, - - "DatePipe-class" : { - "title" : "DatePipe" - }, - - "DecimalPipe-class" : { - "title" : "DecimalPipe" - }, - - "PercentPipe-class" : { - "title" : "PercentPipe" - }, - - "CurrencyPipe-class" : { - "title" : "CurrencyPipe" - }, - - "LimitToPipe-class" : { - "title" : "LimitToPipe" - }, - - "DEFAULT_PIPES_TOKEN-const" : { - "title" : "DEFAULT_PIPES_TOKEN" - }, - - "DEFAULT_PIPES-const" : { - "title" : "DEFAULT_PIPES" - } -} diff --git a/public/docs/js/latest/api/pipes/index.jade b/public/docs/js/latest/api/pipes/index.jade deleted file mode 100644 index 8d59bb5450..0000000000 --- a/public/docs/js/latest/api/pipes/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/pipes.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/router/APP_BASE_HREF-const.jade b/public/docs/js/latest/api/router/APP_BASE_HREF-const.jade deleted file mode 100644 index a9ea20e5d4..0000000000 --- a/public/docs/js/latest/api/router/APP_BASE_HREF-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/router - defined in angular2/src/router/location.ts (line 7) - - :markdown - - - diff --git a/public/docs/js/latest/api/router/AsyncRoute-class.jade b/public/docs/js/latest/api/router/AsyncRoute-class.jade deleted file mode 100644 index 158c627700..0000000000 --- a/public/docs/js/latest/api/router/AsyncRoute-class.jade +++ /dev/null @@ -1,81 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_config_impl.ts (line 56) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({path, loader, as, data}: {path: string, loader: Function, as?: string, data?: any}) - - :markdown - - - - - - - .l-sub-section - h3 data - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 loader - - - :markdown - - - - - - - - .l-sub-section - h3 as - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/AuxRoute-class.jade b/public/docs/js/latest/api/router/AuxRoute-class.jade deleted file mode 100644 index 9733672174..0000000000 --- a/public/docs/js/latest/api/router/AuxRoute-class.jade +++ /dev/null @@ -1,105 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_config_impl.ts (line 38) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({path, component, as}: {path: string, component: Type, as?: string}) - - :markdown - - - - - - - .l-sub-section - h3 data - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 component - - - :markdown - - - - - - - - .l-sub-section - h3 as - - - :markdown - - - - - - - - .l-sub-section - h3 loader - - - :markdown - - - - - - - - .l-sub-section - h3 redirectTo - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/CanActivate-var.jade b/public/docs/js/latest/api/router/CanActivate-var.jade deleted file mode 100644 index d01f93e544..0000000000 --- a/public/docs/js/latest/api/router/CanActivate-var.jade +++ /dev/null @@ -1,30 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/router - defined in angular2/src/router/lifecycle_annotations.ts (line 41) - - :markdown - Defines route lifecycle method [canActivate], which is called by the router to determine - if a component can be instantiated as part of a navigation. - - Note that unlike other lifecycle hooks, this one uses an annotation rather than an interface. - This is because [canActivate] is called before the component is instantiated. - - If `canActivate` returns or resolves to `false`, the navigation is cancelled. - - If `canActivate` throws or rejects, the navigation is also cancelled. - - ## Example - ``` - @Directive({ - selector: 'control-panel-cmp' - }) - @CanActivate(() => checkIfUserIsLoggedIn()) - class ControlPanelCmp { - // ... - } - ``` - - - diff --git a/public/docs/js/latest/api/router/CanDeactivate-interface.jade b/public/docs/js/latest/api/router/CanDeactivate-interface.jade deleted file mode 100644 index f20d3f1327..0000000000 --- a/public/docs/js/latest/api/router/CanDeactivate-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/interfaces.ts (line 115) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 canDeactivate - - - pre.prettyprint - code. - canDeactivate(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/CanReuse-interface.jade b/public/docs/js/latest/api/router/CanReuse-interface.jade deleted file mode 100644 index 074d7a5435..0000000000 --- a/public/docs/js/latest/api/router/CanReuse-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/interfaces.ts (line 87) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 canReuse - - - pre.prettyprint - code. - canReuse(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/ComponentDefinition-interface.jade b/public/docs/js/latest/api/router/ComponentDefinition-interface.jade deleted file mode 100644 index 21c2328193..0000000000 --- a/public/docs/js/latest/api/router/ComponentDefinition-interface.jade +++ /dev/null @@ -1,44 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_definition.ts (line 10) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 type - - - :markdown - - - - - - - - .l-sub-section - h3 loader? - - - :markdown - - - - - - - - .l-sub-section - h3 component? - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/ComponentInstruction-class.jade b/public/docs/js/latest/api/router/ComponentInstruction-class.jade deleted file mode 100644 index a63c810412..0000000000 --- a/public/docs/js/latest/api/router/ComponentInstruction-class.jade +++ /dev/null @@ -1,139 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/instruction.ts (line 76) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(urlPath: string, urlParams: string[], _recognizer: PathRecognizer, params?: StringMap<string, any>) - - :markdown - - - - - - - .l-sub-section - h3 reuse - - - :markdown - - - - - - - - .l-sub-section - h3 urlPath - - - :markdown - - - - - - - - .l-sub-section - h3 urlParams - - - :markdown - - - - - - - - .l-sub-section - h3 params - - - :markdown - - - - - - - - .l-sub-section - h3 componentType - - - :markdown - - - - - - - - .l-sub-section - h3 resolveComponentType - - - pre.prettyprint - code. - resolveComponentType() - - :markdown - - - - - - - - .l-sub-section - h3 specificity - - - :markdown - - - - - - - - .l-sub-section - h3 terminal - - - :markdown - - - - - - - - .l-sub-section - h3 routeData - - - pre.prettyprint - code. - routeData() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/HashLocationStrategy-class.jade b/public/docs/js/latest/api/router/HashLocationStrategy-class.jade deleted file mode 100644 index 310b552cbe..0000000000 --- a/public/docs/js/latest/api/router/HashLocationStrategy-class.jade +++ /dev/null @@ -1,129 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/hash_location_strategy.ts (line 4) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 onPopState - - - pre.prettyprint - code. - onPopState(fn: EventListener) - - :markdown - - - - - - - - .l-sub-section - h3 getBaseHref - - - pre.prettyprint - code. - getBaseHref() - - :markdown - - - - - - - - .l-sub-section - h3 path - - - pre.prettyprint - code. - path() - - :markdown - - - - - - - - .l-sub-section - h3 pushState - - - pre.prettyprint - code. - pushState(state: any, title: string, url: string) - - :markdown - - - - - - - - .l-sub-section - h3 forward - - - pre.prettyprint - code. - forward() - - :markdown - - - - - - - - .l-sub-section - h3 back - - - pre.prettyprint - code. - back() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/Instruction-class.jade b/public/docs/js/latest/api/router/Instruction-class.jade deleted file mode 100644 index 2ffe4d640d..0000000000 --- a/public/docs/js/latest/api/router/Instruction-class.jade +++ /dev/null @@ -1,75 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/instruction.ts (line 18) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(component: ComponentInstruction, child: Instruction, auxInstruction: StringMap<string, Instruction>) - - :markdown - - - - - - - .l-sub-section - h3 component - - - :markdown - - - - - - - - .l-sub-section - h3 child - - - :markdown - - - - - - - - .l-sub-section - h3 auxInstruction - - - :markdown - - - - - - - - .l-sub-section - h3 replaceChild - - - pre.prettyprint - code. - replaceChild(child: Instruction) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/Location-class.jade b/public/docs/js/latest/api/router/Location-class.jade deleted file mode 100644 index 3e7a412d97..0000000000 --- a/public/docs/js/latest/api/router/Location-class.jade +++ /dev/null @@ -1,157 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/location.ts (line 7) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(platformStrategy: LocationStrategy, href?: string) - - :markdown - - - - - - - .l-sub-section - h3 platformStrategy - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - pre.prettyprint - code. - path() - - :markdown - - - - - - - - .l-sub-section - h3 normalize - - - pre.prettyprint - code. - normalize(url: string) - - :markdown - - - - - - - - .l-sub-section - h3 normalizeAbsolutely - - - pre.prettyprint - code. - normalizeAbsolutely(url: string) - - :markdown - - - - - - - - .l-sub-section - h3 go - - - pre.prettyprint - code. - go(url: string) - - :markdown - - - - - - - - .l-sub-section - h3 forward - - - pre.prettyprint - code. - forward() - - :markdown - - - - - - - - .l-sub-section - h3 back - - - pre.prettyprint - code. - back() - - :markdown - - - - - - - - .l-sub-section - h3 subscribe - - - pre.prettyprint - code. - subscribe(onNext: (value: any) => void, onThrow?: (exception: any) => void, onReturn?: () => void) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/LocationStrategy-class.jade b/public/docs/js/latest/api/router/LocationStrategy-class.jade deleted file mode 100644 index 631f13314c..0000000000 --- a/public/docs/js/latest/api/router/LocationStrategy-class.jade +++ /dev/null @@ -1,104 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/location_strategy.ts (line 5) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 path - - - pre.prettyprint - code. - path() - - :markdown - - - - - - - - .l-sub-section - h3 pushState - - - pre.prettyprint - code. - pushState(ctx: any, title: string, url: string) - - :markdown - - - - - - - - .l-sub-section - h3 forward - - - pre.prettyprint - code. - forward() - - :markdown - - - - - - - - .l-sub-section - h3 back - - - pre.prettyprint - code. - back() - - :markdown - - - - - - - - .l-sub-section - h3 onPopState - - - pre.prettyprint - code. - onPopState(fn: (_: any) => any) - - :markdown - - - - - - - - .l-sub-section - h3 getBaseHref - - - pre.prettyprint - code. - getBaseHref() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/OnActivate-interface.jade b/public/docs/js/latest/api/router/OnActivate-interface.jade deleted file mode 100644 index e99bafc5cf..0000000000 --- a/public/docs/js/latest/api/router/OnActivate-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/interfaces.ts (line 7) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 onActivate - - - pre.prettyprint - code. - onActivate(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/OnDeactivate-interface.jade b/public/docs/js/latest/api/router/OnDeactivate-interface.jade deleted file mode 100644 index 931615f63b..0000000000 --- a/public/docs/js/latest/api/router/OnDeactivate-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/interfaces.ts (line 61) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 onDeactivate - - - pre.prettyprint - code. - onDeactivate(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/OnReuse-interface.jade b/public/docs/js/latest/api/router/OnReuse-interface.jade deleted file mode 100644 index 95991ebe21..0000000000 --- a/public/docs/js/latest/api/router/OnReuse-interface.jade +++ /dev/null @@ -1,24 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/interfaces.ts (line 34) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 onReuse - - - pre.prettyprint - code. - onReuse(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/OpaqueToken-class.jade b/public/docs/js/latest/api/router/OpaqueToken-class.jade deleted file mode 100644 index 23e2e8b1c1..0000000000 --- a/public/docs/js/latest/api/router/OpaqueToken-class.jade +++ /dev/null @@ -1,49 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/core/di/opaque_token.ts (line 1) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(desc: string) - - :markdown - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/PathLocationStrategy-class.jade b/public/docs/js/latest/api/router/PathLocationStrategy-class.jade deleted file mode 100644 index bd58d5bf3f..0000000000 --- a/public/docs/js/latest/api/router/PathLocationStrategy-class.jade +++ /dev/null @@ -1,129 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/path_location_strategy.ts (line 4) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 onPopState - - - pre.prettyprint - code. - onPopState(fn: EventListener) - - :markdown - - - - - - - - .l-sub-section - h3 getBaseHref - - - pre.prettyprint - code. - getBaseHref() - - :markdown - - - - - - - - .l-sub-section - h3 path - - - pre.prettyprint - code. - path() - - :markdown - - - - - - - - .l-sub-section - h3 pushState - - - pre.prettyprint - code. - pushState(state: any, title: string, url: string) - - :markdown - - - - - - - - .l-sub-section - h3 forward - - - pre.prettyprint - code. - forward() - - :markdown - - - - - - - - .l-sub-section - h3 back - - - pre.prettyprint - code. - back() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/Pipeline-class.jade b/public/docs/js/latest/api/router/Pipeline-class.jade deleted file mode 100644 index 82e77e1c86..0000000000 --- a/public/docs/js/latest/api/router/Pipeline-class.jade +++ /dev/null @@ -1,61 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/pipeline.ts (line 4) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor() - - :markdown - - - - - - - .l-sub-section - h3 steps - - - :markdown - - - - - - - - .l-sub-section - h3 process - - - pre.prettyprint - code. - process(instruction: Instruction) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/ROUTER_BINDINGS-const.jade b/public/docs/js/latest/api/router/ROUTER_BINDINGS-const.jade deleted file mode 100644 index 82f8be442f..0000000000 --- a/public/docs/js/latest/api/router/ROUTER_BINDINGS-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/router - defined in angular2/router.ts (line 41) - - :markdown - - - diff --git a/public/docs/js/latest/api/router/ROUTER_DIRECTIVES-const.jade b/public/docs/js/latest/api/router/ROUTER_DIRECTIVES-const.jade deleted file mode 100644 index 2cf4153fc3..0000000000 --- a/public/docs/js/latest/api/router/ROUTER_DIRECTIVES-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/router - defined in angular2/router.ts (line 39) - - :markdown - - - diff --git a/public/docs/js/latest/api/router/ROUTE_DATA-const.jade b/public/docs/js/latest/api/router/ROUTE_DATA-const.jade deleted file mode 100644 index 7b13f119f5..0000000000 --- a/public/docs/js/latest/api/router/ROUTE_DATA-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_data.ts (line 4) - - :markdown - - - diff --git a/public/docs/js/latest/api/router/Redirect-class.jade b/public/docs/js/latest/api/router/Redirect-class.jade deleted file mode 100644 index 6634c00fee..0000000000 --- a/public/docs/js/latest/api/router/Redirect-class.jade +++ /dev/null @@ -1,93 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_config_impl.ts (line 70) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({path, redirectTo}: {path: string, redirectTo: string}) - - :markdown - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 redirectTo - - - :markdown - - - - - - - - .l-sub-section - h3 as - - - :markdown - - - - - - - - .l-sub-section - h3 loader - - - :markdown - - - - - - - - .l-sub-section - h3 data - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/RootRouter-class.jade b/public/docs/js/latest/api/router/RootRouter-class.jade deleted file mode 100644 index 4c07acc3c5..0000000000 --- a/public/docs/js/latest/api/router/RootRouter-class.jade +++ /dev/null @@ -1,39 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/router.ts (line 439) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(registry: RouteRegistry, pipeline: Pipeline, location: Location, hostComponent: Type) - - :markdown - - - - - - - .l-sub-section - h3 commit - - - pre.prettyprint - code. - commit(instruction: Instruction, _skipLocationChange?: boolean) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/Route-class.jade b/public/docs/js/latest/api/router/Route-class.jade deleted file mode 100644 index a790d2dd67..0000000000 --- a/public/docs/js/latest/api/router/Route-class.jade +++ /dev/null @@ -1,106 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_config_impl.ts (line 17) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation CONST - pre.prettyprint - code. - @CONST() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor({path, component, as, data}: - {path: string, component: Type, as?: string, data?: any}) - - :markdown - - - - - - - .l-sub-section - h3 data - - - :markdown - - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 component - - - :markdown - - - - - - - - .l-sub-section - h3 as - - - :markdown - - - - - - - - .l-sub-section - h3 loader - - - :markdown - - - - - - - - .l-sub-section - h3 redirectTo - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/RouteConfig-var.jade b/public/docs/js/latest/api/router/RouteConfig-var.jade deleted file mode 100644 index 5d5ca18929..0000000000 --- a/public/docs/js/latest/api/router/RouteConfig-var.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_config_decorator.ts (line 5) - - :markdown - - - diff --git a/public/docs/js/latest/api/router/RouteDefinition-interface.jade b/public/docs/js/latest/api/router/RouteDefinition-interface.jade deleted file mode 100644 index b457cb0bf1..0000000000 --- a/public/docs/js/latest/api/router/RouteDefinition-interface.jade +++ /dev/null @@ -1,80 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_definition.ts (line 1) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 component? - - - :markdown - - - - - - - - .l-sub-section - h3 loader? - - - :markdown - - - - - - - - .l-sub-section - h3 redirectTo? - - - :markdown - - - - - - - - .l-sub-section - h3 as? - - - :markdown - - - - - - - - .l-sub-section - h3 data? - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/RouteParams-class.jade b/public/docs/js/latest/api/router/RouteParams-class.jade deleted file mode 100644 index eb7a2a8d94..0000000000 --- a/public/docs/js/latest/api/router/RouteParams-class.jade +++ /dev/null @@ -1,51 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/instruction.ts (line 12) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(params: StringMap<string, string>) - - :markdown - - - - - - - .l-sub-section - h3 params - - - :markdown - - - - - - - - .l-sub-section - h3 get - - - pre.prettyprint - code. - get(param: string) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/RouteRegistry-class.jade b/public/docs/js/latest/api/router/RouteRegistry-class.jade deleted file mode 100644 index d25baeda50..0000000000 --- a/public/docs/js/latest/api/router/RouteRegistry-class.jade +++ /dev/null @@ -1,88 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/route_registry.ts (line 37) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 config - - - pre.prettyprint - code. - config(parentComponent: any, config: RouteDefinition) - - :markdown - Given a component and a configuration object, add the route to this registry - - - - - - - - .l-sub-section - h3 configFromComponent - - - pre.prettyprint - code. - configFromComponent(component: any) - - :markdown - Reads the annotations of a component and configures the registry based on them - - - - - - - - .l-sub-section - h3 recognize - - - pre.prettyprint - code. - recognize(url: string, parentComponent: any) - - :markdown - Given a URL and a parent component, return the most specific instruction for navigating - the application into the state specified by the url - - - - - - - - .l-sub-section - h3 generate - - - pre.prettyprint - code. - generate(linkParams: any[], parentComponent: any) - - :markdown - Given a normalized list with component names and params like: `['user', {id: 3 }]` - generates a url with a leading slash relative to the provided `parentComponent`. - - - - - - diff --git a/public/docs/js/latest/api/router/Router-class.jade b/public/docs/js/latest/api/router/Router-class.jade deleted file mode 100644 index 8868a6874c..0000000000 --- a/public/docs/js/latest/api/router/Router-class.jade +++ /dev/null @@ -1,343 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/router.ts (line 27) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(registry: RouteRegistry, _pipeline: Pipeline, parent: Router, hostComponent: any) - - :markdown - - - - - - - .l-sub-section - h3 navigating - - - :markdown - - - - - - - - .l-sub-section - h3 lastNavigationAttempt - - - :markdown - - - - - - - - .l-sub-section - h3 registry - - - :markdown - - - - - - - - .l-sub-section - h3 parent - - - :markdown - - - - - - - - .l-sub-section - h3 hostComponent - - - :markdown - - - - - - - - .l-sub-section - h3 childRouter - - - pre.prettyprint - code. - childRouter(hostComponent: any) - - :markdown - Constructs a child router. You probably don't need to use this unless you're writing a reusable - component. - - - - - - - - .l-sub-section - h3 auxRouter - - - pre.prettyprint - code. - auxRouter(hostComponent: any) - - :markdown - Constructs a child router. You probably don't need to use this unless you're writing a reusable - component. - - - - - - - - .l-sub-section - h3 registerPrimaryOutlet - - - pre.prettyprint - code. - registerPrimaryOutlet(outlet: RouterOutlet) - - :markdown - Register an outlet to notified of primary route changes. - - You probably don't need to use this unless you're writing a reusable component. - - - - - - - - .l-sub-section - h3 registerAuxOutlet - - - pre.prettyprint - code. - registerAuxOutlet(outlet: RouterOutlet) - - :markdown - Register an outlet to notified of auxiliary route changes. - - You probably don't need to use this unless you're writing a reusable component. - - - - - - - - .l-sub-section - h3 isRouteActive - - - pre.prettyprint - code. - isRouteActive(instruction: Instruction) - - :markdown - Given an instruction, returns `true` if the instruction is currently active, - otherwise `false`. - - - - - - - - .l-sub-section - h3 config - - - pre.prettyprint - code. - config(definitions: RouteDefinition[]) - - :markdown - Dynamically update the routing configuration and trigger a navigation. - - # Usage - - ``` - router.config([ - { 'path': '/', 'component': IndexComp }, - { 'path': '/user/:id', 'component': UserComp }, - ]); - ``` - - - - - - - - .l-sub-section - h3 navigate - - - pre.prettyprint - code. - navigate(url: string, _skipLocationChange?: boolean) - - :markdown - Navigate to a URL. Returns a promise that resolves when navigation is complete. - - If the given URL begins with a `/`, router will navigate absolutely. - If the given URL does not begin with `/`, the router will navigate relative to this component. - - - - - - - - .l-sub-section - h3 navigateInstruction - - - pre.prettyprint - code. - navigateInstruction(instruction: Instruction, _skipLocationChange?: boolean) - - :markdown - Navigate via the provided instruction. Returns a promise that resolves when navigation is - complete. - - - - - - - - .l-sub-section - h3 commit - - - pre.prettyprint - code. - commit(instruction: Instruction, _skipLocationChange?: boolean) - - :markdown - Updates this router and all descendant routers according to the given instruction - - - - - - - - .l-sub-section - h3 subscribe - - - pre.prettyprint - code. - subscribe(onNext: (value: any) => void) - - :markdown - Subscribe to URL updates from the router - - - - - - - - .l-sub-section - h3 deactivate - - - pre.prettyprint - code. - deactivate(instruction: Instruction) - - :markdown - Removes the contents of this router's outlet and all descendant outlets - - - - - - - - .l-sub-section - h3 recognize - - - pre.prettyprint - code. - recognize(url: string) - - :markdown - Given a URL, returns an instruction representing the component graph - - - - - - - - .l-sub-section - h3 renavigate - - - pre.prettyprint - code. - renavigate() - - :markdown - Navigates to either the last URL successfully navigated to, or the last URL requested if the - router has yet to successfully navigate. - - - - - - - - .l-sub-section - h3 generate - - - pre.prettyprint - code. - generate(linkParams: any[]) - - :markdown - Generate a URL from a component name and optional map of parameters. The URL is relative to the - app's base href. - - - - - - diff --git a/public/docs/js/latest/api/router/RouterLink-class.jade b/public/docs/js/latest/api/router/RouterLink-class.jade deleted file mode 100644 index c2ae862223..0000000000 --- a/public/docs/js/latest/api/router/RouterLink-class.jade +++ /dev/null @@ -1,93 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/router_link.ts (line 6) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({ - selector: '[router-link]', - properties: ['routeParams: routerLink'], - host: { - '(click)': 'onClick()', - '[attr.href]': 'visibleHref', - '[class.router-link-active]': 'isRouteActive' - } - }) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_router: Router, _location: Location) - - :markdown - - - - - - - .l-sub-section - h3 visibleHref - - - :markdown - - - - - - - - .l-sub-section - h3 isRouteActive - - - :markdown - - - - - - - - .l-sub-section - h3 routeParams - - - :markdown - - - - - - - - .l-sub-section - h3 onClick - - - pre.prettyprint - code. - onClick() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/RouterOutlet-class.jade b/public/docs/js/latest/api/router/RouterOutlet-class.jade deleted file mode 100644 index e7fd62b9ec..0000000000 --- a/public/docs/js/latest/api/router/RouterOutlet-class.jade +++ /dev/null @@ -1,146 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/router_outlet.ts (line 15) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Directive - pre.prettyprint - code. - @Directive({selector: 'router-outlet'}) - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_elementRef: ElementRef, _loader: DynamicComponentLoader, _parentRouter:Router, nameAttr: string) - - :markdown - - - - - - - .l-sub-section - h3 name - - - :markdown - - - - - - - - .l-sub-section - h3 activate - - - pre.prettyprint - code. - activate(nextInstruction: ComponentInstruction) - - :markdown - Called by the Router to instantiate a new component during the commit phase of a navigation. - This method in turn is responsible for calling the `onActivate` hook of its child. - - - - - - - - .l-sub-section - h3 reuse - - - pre.prettyprint - code. - reuse(nextInstruction: ComponentInstruction) - - :markdown - Called by the Router during the commit phase of a navigation when an outlet - reuses a component between different routes. - This method in turn is responsible for calling the `onReuse` hook of its child. - - - - - - - - .l-sub-section - h3 deactivate - - - pre.prettyprint - code. - deactivate(nextInstruction: ComponentInstruction) - - :markdown - Called by the Router when an outlet reuses a component across navigations. - This method in turn is responsible for calling the `onReuse` hook of its child. - - - - - - - - .l-sub-section - h3 canDeactivate - - - pre.prettyprint - code. - canDeactivate(nextInstruction: ComponentInstruction) - - :markdown - Called by the Router during recognition phase of a navigation. - - If this resolves to `false`, the given navigation is cancelled. - - This method delegates to the child component's `canDeactivate` hook if it exists, - and otherwise resolves to true. - - - - - - - - .l-sub-section - h3 canReuse - - - pre.prettyprint - code. - canReuse(nextInstruction: ComponentInstruction) - - :markdown - Called by the Router during recognition phase of a navigation. - - If the new child component has a different Type than the existing child component, - this will resolve to `false`. You can't reuse an old component when the new component - is of a different Type. - - Otherwise, this method delegates to the child component's `canReuse` hook if it exists, - or resolves to true if the hook is not present. - - - - - - diff --git a/public/docs/js/latest/api/router/Url-class.jade b/public/docs/js/latest/api/router/Url-class.jade deleted file mode 100644 index 8b75de574f..0000000000 --- a/public/docs/js/latest/api/router/Url-class.jade +++ /dev/null @@ -1,103 +0,0 @@ - -p.location-badge. - exported from angular2/router - defined in angular2/src/router/url_parser.ts (line 8) - -:markdown - Maps application URLs into application states, to support deep-linking and navigation. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(path: string, child?: Url, auxiliary?: Url[], params?: StringMap<string, any>) - - :markdown - - - - - - - .l-sub-section - h3 path - - - :markdown - - - - - - - - .l-sub-section - h3 child - - - :markdown - - - - - - - - .l-sub-section - h3 auxiliary - - - :markdown - - - - - - - - .l-sub-section - h3 params - - - :markdown - - - - - - - - .l-sub-section - h3 toString - - - pre.prettyprint - code. - toString() - - :markdown - - - - - - - - .l-sub-section - h3 segmentToString - - - pre.prettyprint - code. - segmentToString() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/router/_data.json b/public/docs/js/latest/api/router/_data.json deleted file mode 100644 index 07134f1008..0000000000 --- a/public/docs/js/latest/api/router/_data.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "index" : { - "title" : "Router", - "intro" : "Maps application URLs into application states, to support deep-linking and navigation." - }, - - "Router-class" : { - "title" : "Router" - }, - - "RootRouter-class" : { - "title" : "RootRouter" - }, - - "RouterOutlet-class" : { - "title" : "RouterOutlet" - }, - - "RouterLink-class" : { - "title" : "RouterLink" - }, - - "RouteParams-class" : { - "title" : "RouteParams" - }, - - "RouteRegistry-class" : { - "title" : "RouteRegistry" - }, - - "LocationStrategy-class" : { - "title" : "LocationStrategy" - }, - - "HashLocationStrategy-class" : { - "title" : "HashLocationStrategy" - }, - - "PathLocationStrategy-class" : { - "title" : "PathLocationStrategy" - }, - - "Location-class" : { - "title" : "Location" - }, - - "APP_BASE_HREF-const" : { - "title" : "APP_BASE_HREF", - "varType" : "OpaqueToken" - }, - - "Pipeline-class" : { - "title" : "Pipeline" - }, - - "OnActivate-interface" : { - "title" : "OnActivate" - }, - - "OnDeactivate-interface" : { - "title" : "OnDeactivate" - }, - - "OnReuse-interface" : { - "title" : "OnReuse" - }, - - "CanDeactivate-interface" : { - "title" : "CanDeactivate" - }, - - "CanReuse-interface" : { - "title" : "CanReuse" - }, - - "CanActivate-var" : { - "title" : "CanActivate" - }, - - "Instruction-class" : { - "title" : "Instruction" - }, - - "ComponentInstruction-class" : { - "title" : "ComponentInstruction" - }, - - "Url-class" : { - "title" : "Url" - }, - - "OpaqueToken-class" : { - "title" : "OpaqueToken" - }, - - "ROUTE_DATA-const" : { - "title" : "ROUTE_DATA", - "varType" : "OpaqueToken" - }, - - "ROUTER_DIRECTIVES-const" : { - "title" : "ROUTER_DIRECTIVES" - }, - - "ROUTER_BINDINGS-const" : { - "title" : "ROUTER_BINDINGS" - }, - - "Route-class" : { - "title" : "Route" - }, - - "Redirect-class" : { - "title" : "Redirect" - }, - - "AuxRoute-class" : { - "title" : "AuxRoute" - }, - - "AsyncRoute-class" : { - "title" : "AsyncRoute" - }, - - "RouteDefinition-interface" : { - "title" : "RouteDefinition" - }, - - "RouteConfig-var" : { - "title" : "RouteConfig" - }, - - "ComponentDefinition-interface" : { - "title" : "ComponentDefinition" - } -} diff --git a/public/docs/js/latest/api/router/index.jade b/public/docs/js/latest/api/router/index.jade deleted file mode 100644 index 4c7ac73033..0000000000 --- a/public/docs/js/latest/api/router/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/router.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/test/AsyncTestCompleter-class.jade b/public/docs/js/latest/api/test/AsyncTestCompleter-class.jade deleted file mode 100644 index 023378e5fd..0000000000 --- a/public/docs/js/latest/api/test/AsyncTestCompleter-class.jade +++ /dev/null @@ -1,41 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 34) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(done: Function) - - :markdown - - - - - - - .l-sub-section - h3 done - - - pre.prettyprint - code. - done() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/test/By-class.jade b/public/docs/js/latest/api/test/By-class.jade deleted file mode 100644 index c543b7c965..0000000000 --- a/public/docs/js/latest/api/test/By-class.jade +++ /dev/null @@ -1,9 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/core/debug/debug_element.ts (line 179) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. diff --git a/public/docs/js/latest/api/test/DebugElement-class.jade b/public/docs/js/latest/api/test/DebugElement-class.jade deleted file mode 100644 index 3991704a98..0000000000 --- a/public/docs/js/latest/api/test/DebugElement-class.jade +++ /dev/null @@ -1,200 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/core/debug/debug_element.ts (line 9) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(_parentView: AppView, _boundElementIndex: number) - - :markdown - - - - - - - .l-sub-section - h3 componentInstance - - - :markdown - - - - - - - - .l-sub-section - h3 nativeElement - - - :markdown - - - - - - - - .l-sub-section - h3 elementRef - - - :markdown - - - - - - - - .l-sub-section - h3 getDirectiveInstance - - - pre.prettyprint - code. - getDirectiveInstance(directiveIndex: number) - - :markdown - - - - - - - - .l-sub-section - h3 children - - - :markdown - Get child DebugElements from within the Light DOM. - - - - - - - .l-sub-section - h3 componentViewChildren - - - :markdown - Get the root DebugElement children of a component. Returns an empty - list if the current DebugElement is not a component root. - - - - - - - .l-sub-section - h3 triggerEventHandler - - - pre.prettyprint - code. - triggerEventHandler(eventName: string, eventObj: Event) - - :markdown - - - - - - - - .l-sub-section - h3 hasDirective - - - pre.prettyprint - code. - hasDirective(type: Type) - - :markdown - - - - - - - - .l-sub-section - h3 inject - - - pre.prettyprint - code. - inject(type: Type) - - :markdown - - - - - - - - .l-sub-section - h3 getLocal - - - pre.prettyprint - code. - getLocal(name: string) - - :markdown - - - - - - - - .l-sub-section - h3 query - - - pre.prettyprint - code. - query(predicate: Predicate<DebugElement>, scope?: Function) - - :markdown - Return the first descendant TestElement matching the given predicate - and scope. - - - - - - - .l-sub-section - h3 queryAll - - - pre.prettyprint - code. - queryAll(predicate: Predicate<DebugElement>, scope?: Function) - - :markdown - Return descendant TestElememts matching the given predicate - and scope. - - - - - diff --git a/public/docs/js/latest/api/test/ELEMENT_PROBE_BINDINGS-const.jade b/public/docs/js/latest/api/test/ELEMENT_PROBE_BINDINGS-const.jade deleted file mode 100644 index 7b1ba78f4e..0000000000 --- a/public/docs/js/latest/api/test/ELEMENT_PROBE_BINDINGS-const.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/test - defined in angular2/src/core/debug/debug_element_view_listener.ts (line 71) - - :markdown - - - diff --git a/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade b/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade deleted file mode 100644 index 02aca5dded..0000000000 --- a/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade +++ /dev/null @@ -1,42 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_injector.ts (line 195) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(tokens: any[], fn: Function) - - :markdown - - - - - - - .l-sub-section - h3 execute - - - pre.prettyprint - code. - execute(injector: Injector) - - :markdown - Returns the value of the executed function. - - - - - - diff --git a/public/docs/js/latest/api/test/GuinessCompatibleSpy-interface.jade b/public/docs/js/latest/api/test/GuinessCompatibleSpy-interface.jade deleted file mode 100644 index 474aaa0c04..0000000000 --- a/public/docs/js/latest/api/test/GuinessCompatibleSpy-interface.jade +++ /dev/null @@ -1,63 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 314) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 andReturn - - - pre.prettyprint - code. - andReturn(val: any) - - :markdown - By chaining the spy with and.returnValue, all calls to the function will return a specific - value. - - - - - - - - .l-sub-section - h3 andCallFake - - - pre.prettyprint - code. - andCallFake(fn: Function) - - :markdown - By chaining the spy with and.callFake, all calls to the spy will delegate to the supplied - function. - - - - - - - - .l-sub-section - h3 reset - - - pre.prettyprint - code. - reset() - - :markdown - removes all recorded calls - - - - - - diff --git a/public/docs/js/latest/api/test/NgMatchers-interface.jade b/public/docs/js/latest/api/test/NgMatchers-interface.jade deleted file mode 100644 index 5b27e1b871..0000000000 --- a/public/docs/js/latest/api/test/NgMatchers-interface.jade +++ /dev/null @@ -1,166 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 19) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 toBe - - - pre.prettyprint - code. - toBe(expected: any) - - :markdown - - - - - - - - .l-sub-section - h3 toEqual - - - pre.prettyprint - code. - toEqual(expected: any) - - :markdown - - - - - - - - .l-sub-section - h3 toBePromise - - - pre.prettyprint - code. - toBePromise() - - :markdown - - - - - - - - .l-sub-section - h3 toBeAnInstanceOf - - - pre.prettyprint - code. - toBeAnInstanceOf(expected: any) - - :markdown - - - - - - - - .l-sub-section - h3 toHaveText - - - pre.prettyprint - code. - toHaveText(expected: any) - - :markdown - - - - - - - - .l-sub-section - h3 toHaveCssClass - - - pre.prettyprint - code. - toHaveCssClass(expected: any) - - :markdown - - - - - - - - .l-sub-section - h3 toImplement - - - pre.prettyprint - code. - toImplement(expected: any) - - :markdown - - - - - - - - .l-sub-section - h3 toContainError - - - pre.prettyprint - code. - toContainError(expected: any) - - :markdown - - - - - - - - .l-sub-section - h3 toThrowErrorWith - - - pre.prettyprint - code. - toThrowErrorWith(expectedMessage: any) - - :markdown - - - - - - - - .l-sub-section - h3 not - - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/test/RootTestComponent-class.jade b/public/docs/js/latest/api/test/RootTestComponent-class.jade deleted file mode 100644 index 1d4906a698..0000000000 --- a/public/docs/js/latest/api/test/RootTestComponent-class.jade +++ /dev/null @@ -1,57 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_component_builder.ts (line 22) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(componentRef: ComponentRef) - - :markdown - - - - - - - .l-sub-section - h3 detectChanges - - - pre.prettyprint - code. - detectChanges() - - :markdown - - - - - - - - .l-sub-section - h3 destroy - - - pre.prettyprint - code. - destroy() - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/test/Scope-class.jade b/public/docs/js/latest/api/test/Scope-class.jade deleted file mode 100644 index 95e79b868a..0000000000 --- a/public/docs/js/latest/api/test/Scope-class.jade +++ /dev/null @@ -1,9 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/core/debug/debug_element.ts (line 146) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. diff --git a/public/docs/js/latest/api/test/SpyObject-class.jade b/public/docs/js/latest/api/test/SpyObject-class.jade deleted file mode 100644 index 14902f2685..0000000000 --- a/public/docs/js/latest/api/test/SpyObject-class.jade +++ /dev/null @@ -1,89 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 325) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(type?: any) - - :markdown - - - - - - - .l-sub-section - h3 noSuchMethod - - - pre.prettyprint - code. - noSuchMethod(args: any) - - :markdown - - - - - - - - .l-sub-section - h3 spy - - - pre.prettyprint - code. - spy(name: any) - - :markdown - - - - - - - - .l-sub-section - h3 prop - - - pre.prettyprint - code. - prop(name: any, value: any) - - :markdown - - - - - - - - .l-sub-section - h3 rttsAssert - - - pre.prettyprint - code. - rttsAssert(value: any) - - :markdown - - - - - - diff --git a/public/docs/js/latest/api/test/TestComponentBuilder-class.jade b/public/docs/js/latest/api/test/TestComponentBuilder-class.jade deleted file mode 100644 index 92d142f48f..0000000000 --- a/public/docs/js/latest/api/test/TestComponentBuilder-class.jade +++ /dev/null @@ -1,100 +0,0 @@ - -p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_component_builder.ts (line 43) - -:markdown - This module is used for writing tests for applications written in Angular. - - This module is not included in the `angular2` module; you must import the test module explicitly. - -.l-main-section - h2 Annotations - .l-sub-section - h3.annotation Injectable - pre.prettyprint - code. - @Injectable() - - -.l-main-section - h2 Members - .l-sub-section - h3 constructor - - - pre.prettyprint - code. - constructor(injector: Injector) - - :markdown - - - - - - - .l-sub-section - h3 overrideTemplate - - - pre.prettyprint - code. - overrideTemplate(componentType: Type, template: string) - - :markdown - Overrides only the html of a ComponentMetadata. - All the other properties of the component's ViewMetadata are preserved. - - - - - - - .l-sub-section - h3 overrideView - - - pre.prettyprint - code. - overrideView(componentType: Type, view: ViewMetadata) - - :markdown - Overrides a component's ViewMetadata. - - - - - - - .l-sub-section - h3 overrideDirective - - - pre.prettyprint - code. - overrideDirective(componentType: Type, from: Type, to: Type) - - :markdown - Overrides the directives from the component ViewMetadata. - - - - - - - .l-sub-section - h3 createAsync - - - pre.prettyprint - code. - createAsync(rootComponentType: Type) - - :markdown - Builds and returns a RootTestComponent. - - - - - diff --git a/public/docs/js/latest/api/test/_data.json b/public/docs/js/latest/api/test/_data.json deleted file mode 100644 index e87dc3cef0..0000000000 --- a/public/docs/js/latest/api/test/_data.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "index" : { - "title" : "Test", - "intro" : "This module is used for writing tests for applications written in Angular.This module is not included in the `angular2` module; you must import the test module explicitly." - }, - - "inject-function" : { - "title" : "inject" - }, - - "proxy-var" : { - "title" : "proxy", - "varType" : "ClassDecorator" - }, - - "afterEach-var" : { - "title" : "afterEach" - }, - - "NgMatchers-interface" : { - "title" : "NgMatchers" - }, - - "expect-var" : { - "title" : "expect" - }, - - "AsyncTestCompleter-class" : { - "title" : "AsyncTestCompleter" - }, - - "describe-function" : { - "title" : "describe" - }, - - "ddescribe-function" : { - "title" : "ddescribe" - }, - - "xdescribe-function" : { - "title" : "xdescribe" - }, - - "beforeEach-function" : { - "title" : "beforeEach" - }, - - "beforeEachBindings-function" : { - "title" : "beforeEachBindings" - }, - - "it-function" : { - "title" : "it" - }, - - "xit-function" : { - "title" : "xit" - }, - - "iit-function" : { - "title" : "iit" - }, - - "GuinessCompatibleSpy-interface" : { - "title" : "GuinessCompatibleSpy" - }, - - "SpyObject-class" : { - "title" : "SpyObject" - }, - - "isInInnerZone-function" : { - "title" : "isInInnerZone" - }, - - "RootTestComponent-class" : { - "title" : "RootTestComponent" - }, - - "TestComponentBuilder-class" : { - "title" : "TestComponentBuilder" - }, - - "createTestInjector-function" : { - "title" : "createTestInjector" - }, - - "FunctionWithParamTokens-class" : { - "title" : "FunctionWithParamTokens" - }, - - "inspectNativeElement-function" : { - "title" : "inspectNativeElement" - }, - - "ELEMENT_PROBE_BINDINGS-const" : { - "title" : "ELEMENT_PROBE_BINDINGS" - }, - - "DebugElement-class" : { - "title" : "DebugElement" - }, - - "inspectElement-function" : { - "title" : "inspectElement" - }, - - "asNativeElements-function" : { - "title" : "asNativeElements" - }, - - "Scope-class" : { - "title" : "Scope" - }, - - "By-class" : { - "title" : "By" - } -} diff --git a/public/docs/js/latest/api/test/afterEach-var.jade b/public/docs/js/latest/api/test/afterEach-var.jade deleted file mode 100644 index 76bbc3fcd4..0000000000 --- a/public/docs/js/latest/api/test/afterEach-var.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 19) - - :markdown - - - diff --git a/public/docs/js/latest/api/test/asNativeElements-function.jade b/public/docs/js/latest/api/test/asNativeElements-function.jade deleted file mode 100644 index ee2cd6c371..0000000000 --- a/public/docs/js/latest/api/test/asNativeElements-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") asNativeElements - - - pre.prettyprint - code. - asNativeElements(arr: DebugElement[]) : any[] - - - p.location-badge. - exported from angular2/test - defined in angular2/src/core/debug/debug_element.ts (line 142) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/beforeEach-function.jade b/public/docs/js/latest/api/test/beforeEach-function.jade deleted file mode 100644 index 7a8f8e8bc8..0000000000 --- a/public/docs/js/latest/api/test/beforeEach-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") beforeEach - - - pre.prettyprint - code. - beforeEach(fn: any) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 95) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/beforeEachBindings-function.jade b/public/docs/js/latest/api/test/beforeEachBindings-function.jade deleted file mode 100644 index fee5b02c29..0000000000 --- a/public/docs/js/latest/api/test/beforeEachBindings-function.jade +++ /dev/null @@ -1,29 +0,0 @@ - -.l-main-section - h2(class="function export") beforeEachBindings - - - pre.prettyprint - code. - beforeEachBindings(fn: any) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 109) - - :markdown - Allows overriding default bindings defined in test_injector.js. - - The given function must return a list of DI bindings. - - Example: - - beforeEachBindings(() => [ - bind(Compiler).toClass(MockCompiler), - bind(SomeToken).toValue(myValue), - ]); - - - - diff --git a/public/docs/js/latest/api/test/createTestInjector-function.jade b/public/docs/js/latest/api/test/createTestInjector-function.jade deleted file mode 100644 index c1f2231f4d..0000000000 --- a/public/docs/js/latest/api/test/createTestInjector-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") createTestInjector - - - pre.prettyprint - code. - createTestInjector(bindings: Array<Type | Binding | any[]>) : Injector - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_injector.ts (line 157) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/ddescribe-function.jade b/public/docs/js/latest/api/test/ddescribe-function.jade deleted file mode 100644 index 2a87418922..0000000000 --- a/public/docs/js/latest/api/test/ddescribe-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") ddescribe - - - pre.prettyprint - code. - ddescribe(...args: any[]) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 87) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/describe-function.jade b/public/docs/js/latest/api/test/describe-function.jade deleted file mode 100644 index 69f25855da..0000000000 --- a/public/docs/js/latest/api/test/describe-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") describe - - - pre.prettyprint - code. - describe(...args: any[]) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 83) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/expect-var.jade b/public/docs/js/latest/api/test/expect-var.jade deleted file mode 100644 index e7117a58f8..0000000000 --- a/public/docs/js/latest/api/test/expect-var.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 34) - - :markdown - - - diff --git a/public/docs/js/latest/api/test/iit-function.jade b/public/docs/js/latest/api/test/iit-function.jade deleted file mode 100644 index 7ce9f8e1e5..0000000000 --- a/public/docs/js/latest/api/test/iit-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") iit - - - pre.prettyprint - code. - iit(name: any, fn: any, timeOut?: any) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 167) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/index.jade b/public/docs/js/latest/api/test/index.jade deleted file mode 100644 index 7bedf3ef6f..0000000000 --- a/public/docs/js/latest/api/test/index.jade +++ /dev/null @@ -1,11 +0,0 @@ -p.location-badge. - defined in angular2/test.ts (line 1) - -ul - for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data - if slug != 'index' - - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" - - li.c8 - != partial("../../../../../_includes/_hover-card", {name: page.title, url: url }) - diff --git a/public/docs/js/latest/api/test/inject-function.jade b/public/docs/js/latest/api/test/inject-function.jade deleted file mode 100644 index 43aeb5e4a2..0000000000 --- a/public/docs/js/latest/api/test/inject-function.jade +++ /dev/null @@ -1,41 +0,0 @@ - -.l-main-section - h2(class="function export") inject - - - pre.prettyprint - code. - inject(tokens: any[], fn: Function) : FunctionWithParamTokens - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_injector.ts (line 162) - - :markdown - Allows injecting dependencies in `beforeEach()` and `it()`. - - Example: - - ``` - beforeEach(inject([Dependency, AClass], (dep, object) => { - // some code that uses `dep` and `object` - // ... - })); - - it('...', inject([AClass, AsyncTestCompleter], (object, async) => { - object.doSomething().then(() => { - expect(...); - async.done(); - }); - }) - ``` - - Notes: - - injecting an `AsyncTestCompleter` allow completing async tests - this is the equivalent of - adding a `done` parameter in Jasmine, - - inject is currently a function because of some Traceur limitation the syntax should eventually - becomes `it('...', @Inject (object: AClass, async: AsyncTestCompleter) => { ... });` - - - diff --git a/public/docs/js/latest/api/test/inspectElement-function.jade b/public/docs/js/latest/api/test/inspectElement-function.jade deleted file mode 100644 index ad40c6d5e6..0000000000 --- a/public/docs/js/latest/api/test/inspectElement-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") inspectElement - - - pre.prettyprint - code. - inspectElement(elementRef: ElementRef) : DebugElement - - - p.location-badge. - exported from angular2/test - defined in angular2/src/core/debug/debug_element.ts (line 138) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/inspectNativeElement-function.jade b/public/docs/js/latest/api/test/inspectNativeElement-function.jade deleted file mode 100644 index 347870e34a..0000000000 --- a/public/docs/js/latest/api/test/inspectNativeElement-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") inspectNativeElement - - - pre.prettyprint - code. - inspectNativeElement(element: any) : DebugElement - - - p.location-badge. - exported from angular2/test - defined in angular2/src/core/debug/debug_element_view_listener.ts (line 35) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/isInInnerZone-function.jade b/public/docs/js/latest/api/test/isInInnerZone-function.jade deleted file mode 100644 index edd1d6d107..0000000000 --- a/public/docs/js/latest/api/test/isInInnerZone-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") isInInnerZone - - - pre.prettyprint - code. - isInInnerZone() : boolean - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 410) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/it-function.jade b/public/docs/js/latest/api/test/it-function.jade deleted file mode 100644 index db87e432d6..0000000000 --- a/public/docs/js/latest/api/test/it-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") it - - - pre.prettyprint - code. - it(name: any, fn: any, timeOut?: any) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 159) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/proxy-var.jade b/public/docs/js/latest/api/test/proxy-var.jade deleted file mode 100644 index 13fc638e70..0000000000 --- a/public/docs/js/latest/api/test/proxy-var.jade +++ /dev/null @@ -1,10 +0,0 @@ - -.l-main-section - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 15) - - :markdown - - - diff --git a/public/docs/js/latest/api/test/xdescribe-function.jade b/public/docs/js/latest/api/test/xdescribe-function.jade deleted file mode 100644 index 5e2472c869..0000000000 --- a/public/docs/js/latest/api/test/xdescribe-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") xdescribe - - - pre.prettyprint - code. - xdescribe(...args: any[]) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 91) - - :markdown - - - - diff --git a/public/docs/js/latest/api/test/xit-function.jade b/public/docs/js/latest/api/test/xit-function.jade deleted file mode 100644 index fc8151d5a2..0000000000 --- a/public/docs/js/latest/api/test/xit-function.jade +++ /dev/null @@ -1,19 +0,0 @@ - -.l-main-section - h2(class="function export") xit - - - pre.prettyprint - code. - xit(name: any, fn: any, timeOut?: any) - - - p.location-badge. - exported from angular2/test - defined in angular2/src/test_lib/test_lib.ts (line 163) - - :markdown - - - -