From 94cc8e900549e86c03adf812c4b5fd62fa761d30 Mon Sep 17 00:00:00 2001 From: Alex Wolfe Date: Sun, 19 Apr 2015 13:53:18 -0700 Subject: [PATCH] First round of api docs --- public/_includes/_scripts-include.jade | 11 +- public/docs/js/latest/api/_data.json | 9 - .../api/annotations/Ancestor-class.jade | 74 ++ .../api/annotations/Attribute-class.jade | 72 ++ .../api/annotations/Decorator-class.jade | 106 +++ .../annotations/DynamicComponent-class.jade | 93 +++ .../latest/api/annotations/Parent-class.jade | 61 ++ .../api/annotations/PropertySetter-class.jade | 53 ++ .../latest/api/annotations/Query-class.jade | 39 + .../js/latest/api/annotations/View-class.jade | 119 +++ .../api/annotations/Viewport-class.jade | 124 +++ .../docs/js/latest/api/annotations/_data.json | 58 +- .../api/annotations/component-class.jade | 412 +++------- .../api/annotations/directive-class.jade | 710 ++++++++++++------ .../api/annotations/onAllChangesDone-var.jade | 23 + .../latest/api/annotations/onChange-var.jade | 39 + .../latest/api/annotations/onDestroy-var.jade | 22 + .../js/latest/api/change-detection/_data.json | 11 - .../api/change-detection/component-class.jade | 312 -------- .../api/change-detection/directive-class.jade | 312 -------- ...e-detection.jade => change_detection.jade} | 0 .../ChangeDetection-class.jade | 44 ++ .../ChangeDetectorRef-class.jade | 84 +++ .../DynamicChangeDetection-class.jade | 53 ++ .../JitChangeDetection-class.jade | 53 ++ .../api/change_detection/LifeCycle-class.jade | 84 +++ .../js/latest/api/change_detection/_data.json | 21 + public/docs/js/latest/api/core.jade | 5 + .../api/core/ExceptionHandler-class.jade | 50 ++ .../js/latest/api/core/NgElement-class.jade | 57 ++ public/docs/js/latest/api/core/_data.json | 13 + .../latest/api/core/bootstrap-function.jade | 113 +++ public/docs/js/latest/api/di.jade | 5 + .../docs/js/latest/api/di/Binding-class.jade | 256 +++++++ .../latest/api/di/BindingBuilder-class.jade | 216 ++++++ .../docs/js/latest/api/di/Injector-class.jade | 215 ++++++ public/docs/js/latest/api/di/Key-class.jade | 97 +++ public/docs/js/latest/api/di/_data.json | 21 + .../docs/js/latest/api/di/bind-function.jade | 14 + public/docs/js/latest/api/di_annotations.jade | 5 + .../DependencyAnnotation-class.jade | 60 ++ .../api/di_annotations/Inject-class.jade | 43 ++ .../api/di_annotations/InjectLazy-class.jade | 45 ++ .../di_annotations/InjectPromise-class.jade | 45 ++ .../api/di_annotations/Injectable-class.jade | 34 + .../api/di_annotations/Optional-class.jade | 32 + .../js/latest/api/di_annotations/_data.json | 25 + public/docs/js/latest/api/di_errors.jade | 5 + .../di_errors/AsyncBindingError-class.jade | 44 ++ .../CyclicDependencyError-class.jade | 38 + .../di_errors/InstantiationError-class.jade | 28 + .../di_errors/InvalidBindingError-class.jade | 54 ++ .../di_errors/NoAnnotationError-class.jade | 57 ++ .../api/di_errors/NoProviderError-class.jade | 26 + .../api/di_errors/ProviderError-class.jade | 95 +++ .../docs/js/latest/api/di_errors/_data.json | 29 + public/docs/js/latest/api/directives.jade | 5 + .../js/latest/api/directives/For-class.jade | 132 ++++ .../js/latest/api/directives/If-class.jade | 84 +++ .../api/directives/NonBindable-class.jade | 18 + .../latest/api/directives/Switch-class.jade | 64 ++ .../api/directives/SwitchDefault-class.jade | 33 + .../api/directives/SwitchWhen-class.jade | 54 ++ .../docs/js/latest/api/directives/_data.json | 25 + public/docs/js/latest/api/forms.jade | 5 + .../CheckboxControlValueAccessor-class.jade | 60 ++ .../js/latest/api/forms/Control-class.jade | 45 ++ .../latest/api/forms/ControlArray-class.jade | 124 +++ .../api/forms/ControlDirective-class.jade | 103 +++ .../latest/api/forms/ControlGroup-class.jade | 95 +++ .../forms/ControlGroupDirective-class.jade | 111 +++ .../api/forms/DefaultValueAccessor-class.jade | 61 ++ .../latest/api/forms/FormBuilder-class.jade | 76 ++ .../latest/api/forms/FormDirectives-var.jade | 11 + .../docs/js/latest/api/forms/INVALID-var.jade | 9 + .../docs/js/latest/api/forms/VALID-var.jade | 9 + .../js/latest/api/forms/Validators-class.jade | 100 +++ public/docs/js/latest/api/forms/_data.json | 49 ++ public/docs/js/latest/api/pipes.jade | 5 + .../pipes/CollectionChangeRecord-class.jade | 77 ++ .../api/pipes/IterableChanges-class.jade | 230 ++++++ .../api/pipes/KVChangeRecord-class.jade | 77 ++ .../api/pipes/KeyValueChanges-class.jade | 206 +++++ .../pipes/KeyValueChangesFactory-class.jade | 42 ++ .../js/latest/api/pipes/NullPipe-class.jade | 87 +++ .../api/pipes/NullPipeFactory-class.jade | 42 ++ .../docs/js/latest/api/pipes/Pipe-class.jade | 76 ++ public/docs/js/latest/api/pipes/_data.json | 33 + .../abstract_change_detector/_data.json | 5 + .../binding_record/_data.json | 5 + .../change_detection/_data.json | 17 + .../change_detection_util/_data.json | 13 + .../change_detector_ref/_data.json | 5 + .../src/change_detection/coalesce/_data.json | 5 + .../src/change_detection/constants/_data.json | 25 + .../directive_record/_data.json | 5 + .../dynamic_change_detector/_data.json | 5 + .../change_detection/exceptions/_data.json | 9 + .../change_detection/interfaces/_data.json | 17 + .../change_detection/parser/ast/_data.json | 85 +++ .../change_detection/parser/lexer/_data.json | 177 +++++ .../change_detection/parser/locals/_data.json | 5 + .../change_detection/parser/parser/_data.json | 5 + .../pipes/iterable_changes/_data.json | 13 + .../pipes/keyvalue_changes/_data.json | 13 + .../pipes/null_pipe/_data.json | 9 + .../change_detection/pipes/pipe/_data.json | 9 + .../pipes/pipe_registry/_data.json | 5 + .../proto_change_detector/_data.json | 9 + .../change_detection/proto_record/_data.json | 49 ++ .../core/annotations/annotations/_data.json | 33 + .../api/src/core/annotations/di/_data.json | 13 + .../api/src/core/annotations/view/_data.json | 5 + .../core/annotations/visibility/_data.json | 9 + .../api/src/core/application/_data.json | 5 + .../src/core/application_tokens/_data.json | 21 + .../api/src/core/compiler/compiler/_data.json | 9 + .../compiler/component_url_mapper/_data.json | 9 + .../compiler/directive_metadata/_data.json | 5 + .../directive_metadata_reader/_data.json | 5 + .../dynamic_component_loader/_data.json | 9 + .../core/compiler/element_binder/_data.json | 5 + .../core/compiler/element_injector/_data.json | 29 + .../src/core/compiler/interfaces/_data.json | 5 + .../src/core/compiler/ng_element/_data.json | 5 + .../compiler/proto_view_factory/_data.json | 5 + .../src/core/compiler/query_list/_data.json | 5 + .../compiler/template_resolver/_data.json | 5 + .../api/src/core/compiler/view/_data.json | 9 + .../core/compiler/view_container/_data.json | 5 + .../src/core/compiler/view_factory/_data.json | 9 + .../core/compiler/view_hydrator/_data.json | 5 + .../api/src/core/exception_handler/_data.json | 5 + .../src/core/life_cycle/life_cycle/_data.json | 5 + .../core/testability/testability/_data.json | 9 + .../latest/api/src/di/annotations/_data.json | 25 + .../js/latest/api/src/di/binding/_data.json | 21 + .../latest/api/src/di/exceptions/_data.json | 29 + .../js/latest/api/src/di/injector/_data.json | 5 + .../docs/js/latest/api/src/di/key/_data.json | 9 + .../latest/api/src/di/opaque_token/_data.json | 5 + .../api/src/directives/class/_data.json | 5 + .../latest/api/src/directives/for/_data.json | 5 + .../latest/api/src/directives/if/_data.json | 5 + .../src/directives/non_bindable/_data.json | 5 + .../api/src/directives/switch/_data.json | 13 + .../latest/api/src/dom/dom_adapter/_data.json | 13 + .../dom/generic_browser_adapter/_data.json | 5 + .../api/src/forms/directives/_data.json | 21 + .../api/src/forms/form_builder/_data.json | 5 + .../js/latest/api/src/forms/model/_data.json | 25 + .../src/forms/validator_directives/_data.json | 5 + .../api/src/forms/validators/_data.json | 5 + .../mock/template_resolver_mock/_data.json | 5 + .../api/src/mock/vm_turn_zone_mock/_data.json | 5 + .../latest/api/src/mock/xhr_mock/_data.json | 5 + .../api/src/reflection/reflector/_data.json | 5 + .../js/latest/api/src/render/api/_data.json | 45 ++ .../dom/compiler/compile_control/_data.json | 5 + .../dom/compiler/compile_element/_data.json | 5 + .../dom/compiler/compile_pipeline/_data.json | 5 + .../dom/compiler/compile_step/_data.json | 5 + .../compiler/compile_step_factory/_data.json | 9 + .../render/dom/compiler/compiler/_data.json | 9 + .../dom/compiler/directive_parser/_data.json | 5 + .../property_binding_parser/_data.json | 5 + .../render/dom/compiler/selector/_data.json | 9 + .../dom/compiler/template_loader/_data.json | 5 + .../text_interpolation_parser/_data.json | 5 + .../dom/compiler/view_splitter/_data.json | 5 + .../render/dom/direct_dom_renderer/_data.json | 13 + .../dom/events/event_manager/_data.json | 13 + .../dom/events/hammer_common/_data.json | 5 + .../render/dom/events/key_events/_data.json | 5 + .../dom/shadow_dom/content_tag/_data.json | 5 + .../_data.json | 5 + .../_data.json | 5 + .../dom/shadow_dom/light_dom/_data.json | 9 + .../native_shadow_dom_strategy/_data.json | 5 + .../dom/shadow_dom/shadow_css/_data.json | 5 + .../shadow_dom_compile_step/_data.json | 5 + .../shadow_dom/shadow_dom_strategy/_data.json | 5 + .../dom/shadow_dom/style_inliner/_data.json | 5 + .../shadow_dom/style_url_resolver/_data.json | 5 + .../src/render/dom/shadow_dom/util/_data.json | 33 + .../latest/api/src/render/dom/util/_data.json | 21 + .../render/dom/view/element_binder/_data.json | 9 + .../view/property_setter_factory/_data.json | 5 + .../src/render/dom/view/proto_view/_data.json | 5 + .../dom/view/proto_view_builder/_data.json | 17 + .../api/src/render/dom/view/view/_data.json | 5 + .../render/dom/view/view_container/_data.json | 5 + .../render/dom/view/view_factory/_data.json | 9 + .../render/dom/view/view_hydrator/_data.json | 5 + .../latest/api/src/services/ruler/_data.json | 9 + .../latest/api/src/services/title/_data.json | 5 + .../api/src/services/url_resolver/_data.json | 5 + .../js/latest/api/src/services/xhr/_data.json | 5 + .../src/test_lib/benchmark_util/_data.json | 17 + .../api/src/test_lib/test_bed/_data.json | 9 + .../api/src/test_lib/test_injector/_data.json | 13 + .../latest/api/src/test_lib/utils/_data.json | 21 + public/docs/js/latest/api/template.jade | 5 + .../latest/api/template/Compiler-class.jade | 58 ++ .../api/template/ViewContainer-class.jade | 281 +++++++ public/docs/js/latest/api/template/_data.json | 9 + public/docs/js/latest/api/test.jade | 5 + .../js/latest/api/test/TestBed-class.jade | 100 +++ public/docs/js/latest/api/test/_data.json | 9 + .../js/latest/api/test/inject-function.jade | 36 + public/docs/js/latest/api/test_lib/_data.json | 1 + public/docs/js/latest/api/view.jade | 5 + .../latest/api/view/ComponentRef-class.jade | 84 +++ .../view/DynamicComponentLoader-class.jade | 62 ++ .../js/latest/api/view/ElementRef-class.jade | 72 ++ .../js/latest/api/view/QueryList-class.jade | 104 +++ public/docs/js/latest/api/view/_data.json | 17 + public/resources/css/module/_side-nav.scss | 2 + public/resources/js/site.js | 7 + public/resources/js/vendor/jquery.js | 4 + 220 files changed, 7892 insertions(+), 1193 deletions(-) delete mode 100644 public/docs/js/latest/api/_data.json create mode 100644 public/docs/js/latest/api/annotations/Ancestor-class.jade create mode 100644 public/docs/js/latest/api/annotations/Attribute-class.jade create mode 100644 public/docs/js/latest/api/annotations/Decorator-class.jade create mode 100644 public/docs/js/latest/api/annotations/DynamicComponent-class.jade create mode 100644 public/docs/js/latest/api/annotations/Parent-class.jade create mode 100644 public/docs/js/latest/api/annotations/PropertySetter-class.jade create mode 100644 public/docs/js/latest/api/annotations/Query-class.jade create mode 100644 public/docs/js/latest/api/annotations/View-class.jade create mode 100644 public/docs/js/latest/api/annotations/Viewport-class.jade create mode 100644 public/docs/js/latest/api/annotations/onAllChangesDone-var.jade create mode 100644 public/docs/js/latest/api/annotations/onChange-var.jade create mode 100644 public/docs/js/latest/api/annotations/onDestroy-var.jade delete mode 100644 public/docs/js/latest/api/change-detection/_data.json delete mode 100644 public/docs/js/latest/api/change-detection/component-class.jade delete mode 100644 public/docs/js/latest/api/change-detection/directive-class.jade rename public/docs/js/latest/api/{change-detection.jade => change_detection.jade} (100%) create mode 100644 public/docs/js/latest/api/change_detection/ChangeDetection-class.jade create mode 100644 public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade create mode 100644 public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade create mode 100644 public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade create mode 100644 public/docs/js/latest/api/change_detection/LifeCycle-class.jade create mode 100644 public/docs/js/latest/api/change_detection/_data.json create mode 100644 public/docs/js/latest/api/core.jade create mode 100644 public/docs/js/latest/api/core/ExceptionHandler-class.jade create mode 100644 public/docs/js/latest/api/core/NgElement-class.jade create mode 100644 public/docs/js/latest/api/core/_data.json create mode 100644 public/docs/js/latest/api/core/bootstrap-function.jade create mode 100644 public/docs/js/latest/api/di.jade create mode 100644 public/docs/js/latest/api/di/Binding-class.jade create mode 100644 public/docs/js/latest/api/di/BindingBuilder-class.jade create mode 100644 public/docs/js/latest/api/di/Injector-class.jade create mode 100644 public/docs/js/latest/api/di/Key-class.jade create mode 100644 public/docs/js/latest/api/di/_data.json create mode 100644 public/docs/js/latest/api/di/bind-function.jade create mode 100644 public/docs/js/latest/api/di_annotations.jade create mode 100644 public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade create mode 100644 public/docs/js/latest/api/di_annotations/Inject-class.jade create mode 100644 public/docs/js/latest/api/di_annotations/InjectLazy-class.jade create mode 100644 public/docs/js/latest/api/di_annotations/InjectPromise-class.jade create mode 100644 public/docs/js/latest/api/di_annotations/Injectable-class.jade create mode 100644 public/docs/js/latest/api/di_annotations/Optional-class.jade create mode 100644 public/docs/js/latest/api/di_annotations/_data.json create mode 100644 public/docs/js/latest/api/di_errors.jade create mode 100644 public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/InstantiationError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/NoProviderError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/ProviderError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/_data.json create mode 100644 public/docs/js/latest/api/directives.jade create mode 100644 public/docs/js/latest/api/directives/For-class.jade create mode 100644 public/docs/js/latest/api/directives/If-class.jade create mode 100644 public/docs/js/latest/api/directives/NonBindable-class.jade create mode 100644 public/docs/js/latest/api/directives/Switch-class.jade create mode 100644 public/docs/js/latest/api/directives/SwitchDefault-class.jade create mode 100644 public/docs/js/latest/api/directives/SwitchWhen-class.jade create mode 100644 public/docs/js/latest/api/directives/_data.json create mode 100644 public/docs/js/latest/api/forms.jade create mode 100644 public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade create mode 100644 public/docs/js/latest/api/forms/Control-class.jade create mode 100644 public/docs/js/latest/api/forms/ControlArray-class.jade create mode 100644 public/docs/js/latest/api/forms/ControlDirective-class.jade create mode 100644 public/docs/js/latest/api/forms/ControlGroup-class.jade create mode 100644 public/docs/js/latest/api/forms/ControlGroupDirective-class.jade create mode 100644 public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade create mode 100644 public/docs/js/latest/api/forms/FormBuilder-class.jade create mode 100644 public/docs/js/latest/api/forms/FormDirectives-var.jade create mode 100644 public/docs/js/latest/api/forms/INVALID-var.jade create mode 100644 public/docs/js/latest/api/forms/VALID-var.jade create mode 100644 public/docs/js/latest/api/forms/Validators-class.jade create mode 100644 public/docs/js/latest/api/forms/_data.json create mode 100644 public/docs/js/latest/api/pipes.jade create mode 100644 public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade create mode 100644 public/docs/js/latest/api/pipes/IterableChanges-class.jade create mode 100644 public/docs/js/latest/api/pipes/KVChangeRecord-class.jade create mode 100644 public/docs/js/latest/api/pipes/KeyValueChanges-class.jade create mode 100644 public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade create mode 100644 public/docs/js/latest/api/pipes/NullPipe-class.jade create mode 100644 public/docs/js/latest/api/pipes/NullPipeFactory-class.jade create mode 100644 public/docs/js/latest/api/pipes/Pipe-class.jade create mode 100644 public/docs/js/latest/api/pipes/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/abstract_change_detector/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/binding_record/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/change_detection/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/change_detection_util/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/change_detector_ref/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/coalesce/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/constants/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/directive_record/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/dynamic_change_detector/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/exceptions/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/interfaces/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/parser/ast/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/parser/lexer/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/parser/locals/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/parser/parser/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/pipes/iterable_changes/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/pipes/keyvalue_changes/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/pipes/null_pipe/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/pipes/pipe/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/pipes/pipe_registry/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/proto_change_detector/_data.json create mode 100644 public/docs/js/latest/api/src/change_detection/proto_record/_data.json create mode 100644 public/docs/js/latest/api/src/core/annotations/annotations/_data.json create mode 100644 public/docs/js/latest/api/src/core/annotations/di/_data.json create mode 100644 public/docs/js/latest/api/src/core/annotations/view/_data.json create mode 100644 public/docs/js/latest/api/src/core/annotations/visibility/_data.json create mode 100644 public/docs/js/latest/api/src/core/application/_data.json create mode 100644 public/docs/js/latest/api/src/core/application_tokens/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/compiler/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/component_url_mapper/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/directive_metadata/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/directive_metadata_reader/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/dynamic_component_loader/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/element_binder/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/element_injector/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/interfaces/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/ng_element/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/proto_view_factory/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/query_list/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/template_resolver/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/view/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/view_container/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/view_factory/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/view_hydrator/_data.json create mode 100644 public/docs/js/latest/api/src/core/exception_handler/_data.json create mode 100644 public/docs/js/latest/api/src/core/life_cycle/life_cycle/_data.json create mode 100644 public/docs/js/latest/api/src/core/testability/testability/_data.json create mode 100644 public/docs/js/latest/api/src/di/annotations/_data.json create mode 100644 public/docs/js/latest/api/src/di/binding/_data.json create mode 100644 public/docs/js/latest/api/src/di/exceptions/_data.json create mode 100644 public/docs/js/latest/api/src/di/injector/_data.json create mode 100644 public/docs/js/latest/api/src/di/key/_data.json create mode 100644 public/docs/js/latest/api/src/di/opaque_token/_data.json create mode 100644 public/docs/js/latest/api/src/directives/class/_data.json create mode 100644 public/docs/js/latest/api/src/directives/for/_data.json create mode 100644 public/docs/js/latest/api/src/directives/if/_data.json create mode 100644 public/docs/js/latest/api/src/directives/non_bindable/_data.json create mode 100644 public/docs/js/latest/api/src/directives/switch/_data.json create mode 100644 public/docs/js/latest/api/src/dom/dom_adapter/_data.json create mode 100644 public/docs/js/latest/api/src/dom/generic_browser_adapter/_data.json create mode 100644 public/docs/js/latest/api/src/forms/directives/_data.json create mode 100644 public/docs/js/latest/api/src/forms/form_builder/_data.json create mode 100644 public/docs/js/latest/api/src/forms/model/_data.json create mode 100644 public/docs/js/latest/api/src/forms/validator_directives/_data.json create mode 100644 public/docs/js/latest/api/src/forms/validators/_data.json create mode 100644 public/docs/js/latest/api/src/mock/template_resolver_mock/_data.json create mode 100644 public/docs/js/latest/api/src/mock/vm_turn_zone_mock/_data.json create mode 100644 public/docs/js/latest/api/src/mock/xhr_mock/_data.json create mode 100644 public/docs/js/latest/api/src/reflection/reflector/_data.json create mode 100644 public/docs/js/latest/api/src/render/api/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/compile_control/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/compile_element/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/compile_pipeline/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/compile_step/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/compile_step_factory/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/compiler/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/directive_parser/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/property_binding_parser/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/selector/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/template_loader/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/text_interpolation_parser/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/compiler/view_splitter/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/direct_dom_renderer/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/events/event_manager/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/events/hammer_common/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/events/key_events/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/content_tag/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/emulated_scoped_shadow_dom_strategy/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/emulated_unscoped_shadow_dom_strategy/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/light_dom/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/native_shadow_dom_strategy/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/shadow_css/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/shadow_dom_compile_step/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/shadow_dom_strategy/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/style_inliner/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/style_url_resolver/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/shadow_dom/util/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/util/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/element_binder/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/property_setter_factory/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/proto_view/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/proto_view_builder/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/view/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/view_container/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/view_factory/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/view/view_hydrator/_data.json create mode 100644 public/docs/js/latest/api/src/services/ruler/_data.json create mode 100644 public/docs/js/latest/api/src/services/title/_data.json create mode 100644 public/docs/js/latest/api/src/services/url_resolver/_data.json create mode 100644 public/docs/js/latest/api/src/services/xhr/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/benchmark_util/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/test_bed/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/test_injector/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/utils/_data.json create mode 100644 public/docs/js/latest/api/template.jade create mode 100644 public/docs/js/latest/api/template/Compiler-class.jade create mode 100644 public/docs/js/latest/api/template/ViewContainer-class.jade create mode 100644 public/docs/js/latest/api/template/_data.json create mode 100644 public/docs/js/latest/api/test.jade create mode 100644 public/docs/js/latest/api/test/TestBed-class.jade create mode 100644 public/docs/js/latest/api/test/_data.json create mode 100644 public/docs/js/latest/api/test/inject-function.jade create mode 100644 public/docs/js/latest/api/test_lib/_data.json create mode 100644 public/docs/js/latest/api/view.jade create mode 100644 public/docs/js/latest/api/view/ComponentRef-class.jade create mode 100644 public/docs/js/latest/api/view/DynamicComponentLoader-class.jade create mode 100644 public/docs/js/latest/api/view/ElementRef-class.jade create mode 100644 public/docs/js/latest/api/view/QueryList-class.jade create mode 100644 public/docs/js/latest/api/view/_data.json create mode 100644 public/resources/js/vendor/jquery.js diff --git a/public/_includes/_scripts-include.jade b/public/_includes/_scripts-include.jade index adc7bab4cb..9fa737e688 100644 --- a/public/_includes/_scripts-include.jade +++ b/public/_includes/_scripts-include.jade @@ -1,13 +1,16 @@ + +script(src="/resources/js/vendor/prettify.js") +script(src="/resources/js/vendor/lang-basic.js") +script(src="/resources/js/vendor/lang-dart.js") +script(src="/resources/js/vendor/jquery.js") + + script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.6/angular.js") script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.6/angular-animate.js") script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.6/angular-aria.js") script(src="https://ajax.googleapis.com/ajax/libs/angular_material/0.8.2/angular-material.min.js") - -script(src="/resources/js/vendor/prettify.js") -script(src="/resources/js/vendor/lang-basic.js") -script(src="/resources/js/vendor/lang-dart.js") script(src="/resources/js/site.js") diff --git a/public/docs/js/latest/api/_data.json b/public/docs/js/latest/api/_data.json deleted file mode 100644 index 0390cac11f..0000000000 --- a/public/docs/js/latest/api/_data.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "annotations": { - "title": "Annotations" - }, - - "change-detection": { - "title": "Change Detection" - } -} diff --git a/public/docs/js/latest/api/annotations/Ancestor-class.jade b/public/docs/js/latest/api/annotations/Ancestor-class.jade new file mode 100644 index 0000000000..cde8712e22 --- /dev/null +++ b/public/docs/js/latest/api/annotations/Ancestor-class.jade @@ -0,0 +1,74 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/visibility.js (line 105) + +:markdown + Specifies that an injector should retrieve a dependency from any ancestor element. + + An ancestor is any element between the parent element and shadow root. + + + ## Example + + Here is a simple directive that retrieves a dependency from an ancestor element. + + ``` + @Decorator({ + selector: '[dependency]', + properties: { + 'id':'dependency' + } + }) + class Dependency { + id:string; + } + + + @Decorator({ + selector: '[my-directive]' + }) + class Dependency { + constructor(@Ancestor() dependency:Dependency) { + expect(dependency.id).toEqual(2); + }; + } + ``` + + We use this with the following HTML template: + + ``` +
+
+
+
+
+
+
+ ``` + + The `@Ancestor()` annotation in our constructor forces the injector to retrieve the dependency from the + nearest ancestor element: + - The current element `dependency="3"` is skipped because it is not an ancestor. + - Next parent has no directives `
` + - Next parent has the `Dependency` directive and so the dependency is satisfied. + + Angular injects `dependency=2`. + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + () + + + + :markdown + + + + diff --git a/public/docs/js/latest/api/annotations/Attribute-class.jade b/public/docs/js/latest/api/annotations/Attribute-class.jade new file mode 100644 index 0000000000..38e5211bdd --- /dev/null +++ b/public/docs/js/latest/api/annotations/Attribute-class.jade @@ -0,0 +1,72 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/di.js (line 53) + +:markdown + Specifies that a constant attribute value should be injected. + + The directive can inject constant string literals of host element attributes. + + ## Example + + Suppose we have an `` element and want to know its `type`. + + ```html + + ``` + + A decorator can inject string literal `text` like so: + + ```javascript + @Decorator({ + selector: `input' + }) + class InputDecorator { + constructor(@Attribute('type') type) { + // type would be `text` in this example + } + } + ``` + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + (attributeName) + + + + :markdown + + + + + + .l-sub-section + h3 attributeName + + + + :markdown + + + + + + + .l-sub-section + h3 token + + + + :markdown + + + + + diff --git a/public/docs/js/latest/api/annotations/Decorator-class.jade b/public/docs/js/latest/api/annotations/Decorator-class.jade new file mode 100644 index 0000000000..c3826ebfac --- /dev/null +++ b/public/docs/js/latest/api/annotations/Decorator-class.jade @@ -0,0 +1,106 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/annotations.js (line 750) + +:markdown + Directive that attaches behavior to DOM elements. + + A decorator directive attaches behavior to a DOM element in a composable manner. + (see: http://en.wikipedia.org/wiki/Composition_over_inheritance) + + Decorators: + - are simplest form of [Directive]s. + - are best used as a composition pattern () + + Decorators differ from [Component]s in that they: + - can have multiple decorators per element + - do not create their own evaluation context + - do not have a template (and therefor do not create Shadow DOM) + + + ## Example + + Here we use a decorator directive to simply define basic tool-tip behavior. + + ``` + @Decorator({ + selector: '[tooltip]', + properties: { + 'text': 'tooltip' + }, + hostListeners: { + 'onmouseenter': 'onMouseEnter()', + 'onmouseleave': 'onMouseLeave()' + } + }) + class Tooltip{ + text:string; + overlay:Overlay; // NOT YET IMPLEMENTED + overlayManager:OverlayManager; // NOT YET IMPLEMENTED + + constructor(overlayManager:OverlayManager) { + this.overlay = overlay; + } + + onMouseEnter() { + // exact signature to be determined + this.overlay = this.overlayManager.open(text, ...); + } + + onMouseLeave() { + this.overlay.close(); + this.overlay = null; + } + } + ``` + In our HTML template, we can then add this behavior to a `
` or any other element with the `tooltip` selector, + like so: + + ``` +
+ ``` + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + ({ + selector, + properties, + events, + hostListeners, + lifecycle, + compileChildren = true, + }:{ + selector:string, + properties:any, + events:List, + hostListeners:any, + lifecycle:List, + compileChildren:boolean + }={}) + + + + :markdown + + + + + + .l-sub-section + h3 compileChildren + + + + :markdown + If set to true the compiler does not compile the children of this directive. + + + + diff --git a/public/docs/js/latest/api/annotations/DynamicComponent-class.jade b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade new file mode 100644 index 0000000000..64f2c8be4e --- /dev/null +++ b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade @@ -0,0 +1,93 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/annotations.js (line 655) + +:markdown + Directive used for dynamically loading components. + + Regular Angular components are statically resolved. DynamicComponent allows to you resolve a component at runtime + instead by providing a placeholder into which a regular Angular component can be dynamically loaded. Once loaded, + the dynamically-loaded component becomes permanent and cannot be changed. + + + ## Example + + Here we have `DynamicComp` which acts as the placeholder for `HelloCmp`. At runtime, the dynamic component + `DynamicComp` requests loading of the `HelloCmp` component. + + There is nothing special about `HelloCmp`, which is a regular Angular component. It can also be used in other static + locations. + + ``` + @DynamicComponent({ + selector: 'dynamic-comp' + }) + class DynamicComp { + helloCmp:HelloCmp; + constructor(loader:DynamicComponentLoader, location:PrivateComponentLocation) { + loader.load(HelloCmp, location).then((helloCmp) => { + this.helloCmp = helloCmp; + }); + } + } + + @Component({ + selector: 'hello-cmp' + }) + @View({ + template: "{{greeting}}" + }) + class HelloCmp { + greeting:string; + constructor() { + this.greeting = "hello"; + } + } + ``` + + + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + ({ + selector, + properties, + events, + hostListeners, + injectables, + lifecycle + }:{ + selector:string, + properties:Object, + events:List, + hostListeners:Object, + injectables:List, + lifecycle:List + }={}) + + + + :markdown + + + + + + .l-sub-section + h3 injectables + + + + :markdown + Same as [Component.injectables]. + + + + diff --git a/public/docs/js/latest/api/annotations/Parent-class.jade b/public/docs/js/latest/api/annotations/Parent-class.jade new file mode 100644 index 0000000000..2eaad1cac8 --- /dev/null +++ b/public/docs/js/latest/api/annotations/Parent-class.jade @@ -0,0 +1,61 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/visibility.js (line 44) + +:markdown + Specifies that an injector should retrieve a dependency from the direct parent. + + ## Example + + Here is a simple directive that retrieves a dependency from its parent element. + + ``` + @Decorator({ + selector: '[dependency]', + properties: { + 'id':'dependency' + } + }) + class Dependency { + id:string; + } + + + @Decorator({ + selector: '[my-directive]' + }) + class Dependency { + constructor(@Parent() dependency:Dependency) { + expect(dependency.id).toEqual(1); + }; + } + ``` + + We use this with the following HTML template: + + ``` +
+
+
+ ``` + The `@Parent()` annotation in our constructor forces the injector to retrieve the dependency from the + parent element (even thought the current element could resolve it): Angular injects `dependency=1`. + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + () + + + + :markdown + + + + diff --git a/public/docs/js/latest/api/annotations/PropertySetter-class.jade b/public/docs/js/latest/api/annotations/PropertySetter-class.jade new file mode 100644 index 0000000000..cc3812d055 --- /dev/null +++ b/public/docs/js/latest/api/annotations/PropertySetter-class.jade @@ -0,0 +1,53 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/di.js (line 12) + +:markdown + Specifies that a function for setting host properties should be injected. + + NOTE: This is changing pre 1.0. + + The directive can inject a property setter that would allow setting this property on the host element. + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + (propName) + + + + :markdown + + + + + + .l-sub-section + h3 propName + + + + :markdown + + + + + + + .l-sub-section + h3 token + + + + :markdown + + + + + diff --git a/public/docs/js/latest/api/annotations/Query-class.jade b/public/docs/js/latest/api/annotations/Query-class.jade new file mode 100644 index 0000000000..a80a868aeb --- /dev/null +++ b/public/docs/js/latest/api/annotations/Query-class.jade @@ -0,0 +1,39 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/di.js (line 77) + +:markdown + Specifies that a [QueryList] should be injected. + + See: [QueryList] for usage and example. + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + (directive) + + + + :markdown + + + + + + .l-sub-section + h3 directive + + + + :markdown + + + + + diff --git a/public/docs/js/latest/api/annotations/View-class.jade b/public/docs/js/latest/api/annotations/View-class.jade new file mode 100644 index 0000000000..d901a2faf7 --- /dev/null +++ b/public/docs/js/latest/api/annotations/View-class.jade @@ -0,0 +1,119 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/view.js (line 34) + +:markdown + Declare the available HTML templates for an application. + + Each angular component requires a single `@Component` and at least one `@View` annotation. The @View + annotation specifies the HTML template to use, and lists the directives that are active within the template. + + When a component is instantiated, the template is loaded into the component's shadow root, and the + expressions and statements in the template are evaluated against the component. + + For details on the `@Component` annotation, see [Component]. + + ## Example + + ``` + @Component({ + selector: 'greet' + }) + @View({ + template: 'Hello {{name}}!', + directives: [GreetUser, Bold] + }) + class Greet { + name: string; + + constructor() { + this.name = 'World'; + } + } + ``` + +.l-main-section + h2 Members + .l-sub-section + h3 constructor + + + pre.prettyprint + code. + ({ + templateUrl, + template, + directives + }: { + templateUrl: string, + template: string, + directives: List<Type> + }) + + + + :markdown + + + + + + .l-sub-section + h3 directives + + + + :markdown + Specify a list of directives that are active within a template. [TODO: true?] + + 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 template + + + + :markdown + Specify an inline template for an angular component. + + NOTE: either `templateURL` or `template` should be used, but not both. + + + + + + .l-sub-section + h3 templateUrl + + + + :markdown + Specify a template URL for an angular component. + + NOTE: either `templateURL` or `template` should be used, but not both. + + + + diff --git a/public/docs/js/latest/api/annotations/Viewport-class.jade b/public/docs/js/latest/api/annotations/Viewport-class.jade new file mode 100644 index 0000000000..b5062fb744 --- /dev/null +++ b/public/docs/js/latest/api/annotations/Viewport-class.jade @@ -0,0 +1,124 @@ + +p. + exported from angular2/annotations + defined in angular2/src/core/annotations/annotations.js (line 879) + +:markdown + Directive that controls the instantiation, destruction, and positioning of inline template elements. + + A viewport directive uses a [ViewContainer] to instantiate, insert, move, and destroy views at runtime. + The [ViewContainer] is created as a result of `