diff --git a/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade b/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade
index 282778c5df..a7905ac4a7 100644
--- a/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade
@@ -30,6 +30,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -52,7 +62,6 @@ p.location-badge.
:markdown
-
@@ -65,7 +74,6 @@ p.location-badge.
:markdown
-
@@ -82,7 +90,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade b/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade
index bc877cdb6b..ed413ab822 100644
--- a/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade
+++ b/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade
@@ -14,7 +14,6 @@ p.location-badge.
:markdown
-
Optional argument for specifying the superclass.
@@ -28,7 +27,6 @@ p.location-badge.
:markdown
-
Required constructor function for a class.
The function may be optionally wrapped in an `Array`, in which case additional parameter
diff --git a/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade b/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade
index 4b4f0b529e..f0689d39a3 100644
--- a/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade
@@ -15,7 +15,8 @@ p.location-badge.
- creates a shadow DOM for the component.
- loads the selected template into the shadow DOM.
- creates all the injectable objects configured with `hostInjector` and `viewInjector`.
-
+
+
All template expressions and statements are then evaluated against the component instance.
For details on the `@View` annotation, see View
.
@@ -39,6 +40,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -73,7 +84,6 @@ p.location-badge.
:markdown
-
Defines the used change detection strategy.
When a component is instantiated, Angular creates a change detector, which is responsible for
@@ -95,7 +105,6 @@ p.location-badge.
:markdown
-
Defines the set of injectable objects that are visible to its view dom children.
## Simple Example
diff --git a/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade b/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade
index 1bd92ce070..d4c185ec68 100644
--- a/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade
+++ b/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade
@@ -27,7 +27,6 @@ p.location-badge.
})
:markdown
-
Chain View
annotation.
diff --git a/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade b/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade
index f426d78c11..06777004f5 100644
--- a/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade
@@ -382,6 +382,16 @@ p.location-badge.
view occurs on the second `
LifecycleEvent
for details.
@@ -766,7 +771,6 @@ p.location-badge.
:markdown
-
If set to false the compiler does not compile the children of this directive.
@@ -780,7 +784,6 @@ p.location-badge.
:markdown
-
Defines the set of injectable objects that are visible to a Directive and its light dom
children.
@@ -821,7 +824,6 @@ p.location-badge.
:markdown
-
Defines the name that can be used in the template to assign this directive to a variable.
## Simple Example
diff --git a/public/docs/js/latest/api/annotations/OnAllChangesDone-interface.jade b/public/docs/js/latest/api/annotations/OnAllChangesDone-interface.jade
index 490c5fcdb2..6d84b72864 100644
--- a/public/docs/js/latest/api/annotations/OnAllChangesDone-interface.jade
+++ b/public/docs/js/latest/api/annotations/OnAllChangesDone-interface.jade
@@ -19,7 +19,6 @@ p.location-badge.
onAllChangesDone()
:markdown
-
diff --git a/public/docs/js/latest/api/annotations/OnChange-interface.jade b/public/docs/js/latest/api/annotations/OnChange-interface.jade
index 4bba72c15c..c732a4f7c9 100644
--- a/public/docs/js/latest/api/annotations/OnChange-interface.jade
+++ b/public/docs/js/latest/api/annotations/OnChange-interface.jade
@@ -19,7 +19,6 @@ p.location-badge.
onChange(changes: StringMap<string, any>)
:markdown
-
diff --git a/public/docs/js/latest/api/annotations/OnCheck-interface.jade b/public/docs/js/latest/api/annotations/OnCheck-interface.jade
index 5559e30dec..07ce595593 100644
--- a/public/docs/js/latest/api/annotations/OnCheck-interface.jade
+++ b/public/docs/js/latest/api/annotations/OnCheck-interface.jade
@@ -18,7 +18,6 @@ p.location-badge.
onCheck()
:markdown
-
diff --git a/public/docs/js/latest/api/annotations/OnDestroy-interface.jade b/public/docs/js/latest/api/annotations/OnDestroy-interface.jade
index 5199ae472f..077996a243 100644
--- a/public/docs/js/latest/api/annotations/OnDestroy-interface.jade
+++ b/public/docs/js/latest/api/annotations/OnDestroy-interface.jade
@@ -18,7 +18,6 @@ p.location-badge.
onDestroy()
:markdown
-
diff --git a/public/docs/js/latest/api/annotations/OnInit-interface.jade b/public/docs/js/latest/api/annotations/OnInit-interface.jade
index 4c13218233..c6fd105e73 100644
--- a/public/docs/js/latest/api/annotations/OnInit-interface.jade
+++ b/public/docs/js/latest/api/annotations/OnInit-interface.jade
@@ -18,7 +18,6 @@ p.location-badge.
onInit()
:markdown
-
diff --git a/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade b/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade
index 6a8dbdf2dd..1ef4678ae9 100644
--- a/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade
@@ -9,6 +9,16 @@ p.location-badge.
See QueryList
for usage and example.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -31,7 +41,6 @@ p.location-badge.
:markdown
-
@@ -44,7 +53,6 @@ p.location-badge.
:markdown
-
@@ -57,7 +65,6 @@ p.location-badge.
:markdown
-
@@ -70,7 +77,6 @@ p.location-badge.
:markdown
-
@@ -83,7 +89,6 @@ p.location-badge.
:markdown
-
@@ -100,7 +105,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade b/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade
index fd9584a2f9..47fc030da1 100644
--- a/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade
+++ b/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade
@@ -33,7 +33,6 @@ p.location-badge.
:markdown
-
Storage for the accumulated annotations so far used by the DSL syntax.
Used by Class
to annotate the generated class.
@@ -53,7 +52,6 @@ p.location-badge.
Class(obj: ClassDefinition)
:markdown
-
Generate a class from the definition and annotate it with TypeDecorator
.
diff --git a/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade b/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade
index cb46cda534..ce280ee0e1 100644
--- a/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade
@@ -35,6 +35,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -64,7 +74,6 @@ p.location-badge.
:markdown
-
Specifies an inline template for an angular component.
NOTE: either `templateUrl` or `template` should be used, but not both.
@@ -80,7 +89,6 @@ p.location-badge.
:markdown
-
Specifies a template URL for an angular component.
NOTE: either `templateUrl` or `template` should be used, but not both.
@@ -96,7 +104,6 @@ p.location-badge.
:markdown
-
Specifies stylesheet URLs for an angular component.
@@ -110,7 +117,6 @@ p.location-badge.
:markdown
-
Specifies an inline stylesheet for an angular component.
@@ -124,7 +130,6 @@ p.location-badge.
:markdown
-
Specifies a list of directives that can be used within a template.
Directives must be listed explicitly to provide proper component encapsulation.
@@ -157,7 +162,6 @@ p.location-badge.
:markdown
-
Specify a custom renderer for this View.
If this is set, neither `template`, `templateUrl`, `styles`, `styleUrls` nor `directives` are
used.
diff --git a/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade b/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade
index 4b7287702d..03d90e9cc3 100644
--- a/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade
+++ b/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade
@@ -27,7 +27,6 @@ p.location-badge.
})
:markdown
-
Chain View
annotation.
diff --git a/public/docs/js/latest/api/change_detection/AST-class.jade b/public/docs/js/latest/api/change_detection/AST-class.jade
deleted file mode 100644
index 63209ce81a..0000000000
--- a/public/docs/js/latest/api/change_detection/AST-class.jade
+++ /dev/null
@@ -1,90 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/ast.ts (line 3)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 eval
-
-
- pre.prettyprint
- code.
- eval(context: any, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isAssignable
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 assign
-
-
- pre.prettyprint
- code.
- assign(context: any, locals: Locals, value: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visit
-
-
- pre.prettyprint
- code.
- visit(visitor: AstVisitor)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/ASTWithSource-class.jade b/public/docs/js/latest/api/change_detection/ASTWithSource-class.jade
deleted file mode 100644
index 41928103e3..0000000000
--- a/public/docs/js/latest/api/change_detection/ASTWithSource-class.jade
+++ /dev/null
@@ -1,144 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/ast.ts (line 310)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(ast: AST, source: string, location: string)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 ast
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 source
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 location
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 eval
-
-
- pre.prettyprint
- code.
- eval(context: any, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isAssignable
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 assign
-
-
- pre.prettyprint
- code.
- assign(context: any, locals: Locals, value: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visit
-
-
- pre.prettyprint
- code.
- visit(visitor: AstVisitor)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/AccessMember-class.jade b/public/docs/js/latest/api/change_detection/AccessMember-class.jade
deleted file mode 100644
index 53387c46f7..0000000000
--- a/public/docs/js/latest/api/change_detection/AccessMember-class.jade
+++ /dev/null
@@ -1,140 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/ast.ts (line 75)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(receiver: AST, name: string, getter: Function, setter: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 receiver
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 name
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 getter
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 setter
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 eval
-
-
- pre.prettyprint
- code.
- eval(context: any, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isAssignable
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 assign
-
-
- pre.prettyprint
- code.
- assign(context: any, locals: Locals, value: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visit
-
-
- pre.prettyprint
- code.
- visit(visitor: AstVisitor)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/AstTransformer-class.jade b/public/docs/js/latest/api/change_detection/AstTransformer-class.jade
deleted file mode 100644
index 57447c6be5..0000000000
--- a/public/docs/js/latest/api/change_detection/AstTransformer-class.jade
+++ /dev/null
@@ -1,332 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/ast.ts (line 352)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 visitImplicitReceiver
-
-
- pre.prettyprint
- code.
- visitImplicitReceiver(ast: ImplicitReceiver)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitInterpolation
-
-
- pre.prettyprint
- code.
- visitInterpolation(ast: Interpolation)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitLiteralPrimitive
-
-
- pre.prettyprint
- code.
- visitLiteralPrimitive(ast: LiteralPrimitive)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitAccessMember
-
-
- pre.prettyprint
- code.
- visitAccessMember(ast: AccessMember)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitSafeAccessMember
-
-
- pre.prettyprint
- code.
- visitSafeAccessMember(ast: SafeAccessMember)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitMethodCall
-
-
- pre.prettyprint
- code.
- visitMethodCall(ast: MethodCall)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitSafeMethodCall
-
-
- pre.prettyprint
- code.
- visitSafeMethodCall(ast: SafeMethodCall)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitFunctionCall
-
-
- pre.prettyprint
- code.
- visitFunctionCall(ast: FunctionCall)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitLiteralArray
-
-
- pre.prettyprint
- code.
- visitLiteralArray(ast: LiteralArray)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitLiteralMap
-
-
- pre.prettyprint
- code.
- visitLiteralMap(ast: LiteralMap)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitBinary
-
-
- pre.prettyprint
- code.
- visitBinary(ast: Binary)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitPrefixNot
-
-
- pre.prettyprint
- code.
- visitPrefixNot(ast: PrefixNot)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitConditional
-
-
- pre.prettyprint
- code.
- visitConditional(ast: Conditional)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitPipe
-
-
- pre.prettyprint
- code.
- visitPipe(ast: BindingPipe)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitKeyedAccess
-
-
- pre.prettyprint
- code.
- visitKeyedAccess(ast: KeyedAccess)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitAll
-
-
- pre.prettyprint
- code.
- visitAll(asts: List<any>)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitChain
-
-
- pre.prettyprint
- code.
- visitChain(ast: Chain)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitAssignment
-
-
- pre.prettyprint
- code.
- visitAssignment(ast: Assignment)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visitIf
-
-
- pre.prettyprint
- code.
- visitIf(ast: If)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/BasePipe-class.jade b/public/docs/js/latest/api/change_detection/BasePipe-class.jade
index 026b140b84..3ab11c1e6c 100644
--- a/public/docs/js/latest/api/change_detection/BasePipe-class.jade
+++ b/public/docs/js/latest/api/change_detection/BasePipe-class.jade
@@ -1,15 +1,15 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipe.ts (line 55)
+ defined in angular2/src/change_detection/pipes/pipe.ts (line 58)
:markdown
- Provides default implementation of supports and onDestroy.
+ Provides default implementation of `supports` and `onDestroy` method.
#Example
```
- class DoublePipe extends BasePipe {*
+ class DoublePipe extends BasePipe {
transform(value) {
return `${value}${value}`;
}
@@ -17,6 +17,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -28,7 +38,6 @@ p.location-badge.
supports(obj: any)
:markdown
-
@@ -45,7 +54,6 @@ p.location-badge.
onDestroy()
:markdown
-
@@ -62,7 +70,6 @@ p.location-badge.
transform(value: any, args: List<any>)
:markdown
-
diff --git a/public/docs/js/latest/api/change_detection/BindingRecord-class.jade b/public/docs/js/latest/api/change_detection/BindingRecord-class.jade
deleted file mode 100644
index 4214a47d48..0000000000
--- a/public/docs/js/latest/api/change_detection/BindingRecord-class.jade
+++ /dev/null
@@ -1,294 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/binding_record.ts (line 12)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(mode: string, implicitReceiver: any, ast: AST, elementIndex: number, propertyName: string, propertyUnit: string, setter: SetterFn, lifecycleEvent: string, directiveRecord: DirectiveRecord)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 mode
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 implicitReceiver
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 ast
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 elementIndex
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 propertyName
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 propertyUnit
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 setter
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 lifecycleEvent
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directiveRecord
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 callOnChange
-
-
- pre.prettyprint
- code.
- callOnChange()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isOnPushChangeDetection
-
-
- pre.prettyprint
- code.
- isOnPushChangeDetection()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isDirective
-
-
- pre.prettyprint
- code.
- isDirective()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isDirectiveLifecycle
-
-
- pre.prettyprint
- code.
- isDirectiveLifecycle()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isElementProperty
-
-
- pre.prettyprint
- code.
- isElementProperty()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isElementAttribute
-
-
- pre.prettyprint
- code.
- isElementAttribute()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isElementClass
-
-
- pre.prettyprint
- code.
- isElementClass()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isElementStyle
-
-
- pre.prettyprint
- code.
- isElementStyle()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isTextNode
-
-
- pre.prettyprint
- code.
- isTextNode()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/CHECKED-var.jade b/public/docs/js/latest/api/change_detection/CHECKED-const.jade
similarity index 100%
rename from public/docs/js/latest/api/change_detection/CHECKED-var.jade
rename to public/docs/js/latest/api/change_detection/CHECKED-const.jade
diff --git a/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-var.jade b/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade
similarity index 100%
rename from public/docs/js/latest/api/change_detection/CHECK_ALWAYS-var.jade
rename to public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade
diff --git a/public/docs/js/latest/api/change_detection/CHECK_ONCE-var.jade b/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade
similarity index 100%
rename from public/docs/js/latest/api/change_detection/CHECK_ONCE-var.jade
rename to public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade
diff --git a/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade
deleted file mode 100644
index 9005d2924b..0000000000
--- a/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade
+++ /dev/null
@@ -1,49 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/interfaces.ts (line 5)
-
-:markdown
- Interface used by Angular to control the change detection strategy for an application.
-
- Angular implements the following change detection strategies by default:
-
- - DynamicChangeDetection
: slower, but does not require `eval()`.
- - JitChangeDetection
: faster, but requires `eval()`.
-
- In JavaScript, you should always use `JitChangeDetection`, unless you are in an environment that
- has
- [CSP](https://developer.mozilla.org/en-US/docs/Web/Security/CSP), such as a Chrome Extension.
-
- In Dart, use `DynamicChangeDetection` during development. The Angular transformer generates an
- analog to the
- `JitChangeDetection` strategy at compile time.
-
-
- See: DynamicChangeDetection
, JitChangeDetection
,
- PreGeneratedChangeDetection
-
- # Example
- ```javascript
- bootstrap(MyApp, [bind(ChangeDetection).toClass(DynamicChangeDetection)]);
- ```
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 createProtoChangeDetector
-
-
- pre.prettyprint
- code.
- createProtoChangeDetector(definition: ChangeDetectorDefinition)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade
index fed81f3c73..745246a0c4 100644
--- a/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade
+++ b/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade
@@ -1,9 +1,12 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/exceptions.ts (line 9)
+ defined in angular2/src/change_detection/exceptions.ts (line 18)
:markdown
+ Thrown when an expression evaluation raises an exception.
+
+ This error wraps the original exception, this is done to attach expression location information.
.l-main-section
@@ -14,7 +17,7 @@ p.location-badge.
pre.prettyprint
code.
- constructor(proto: ProtoRecord, originalException: any, originalStack: any)
+ constructor(proto: ProtoRecord, originalException: any, originalStack: any, context: any)
:markdown
@@ -28,7 +31,7 @@ p.location-badge.
:markdown
-
+ Location of the expression.
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 9b929256dd..0000000000
--- a/public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade
+++ /dev/null
@@ -1,205 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/interfaces.ts (line 42)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 parent
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 mode
-
-
- :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 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/ChangeDetectorDefinition-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetectorDefinition-class.jade
deleted file mode 100644
index 6b5e3d80ee..0000000000
--- a/public/docs/js/latest/api/change_detection/ChangeDetectorDefinition-class.jade
+++ /dev/null
@@ -1,89 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/interfaces.ts (line 61)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(id: string, strategy: string, variableNames: List<string>, bindingRecords: List<BindingRecord>, directiveRecords: List<DirectiveRecord>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 id
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 strategy
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 variableNames
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 bindingRecords
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directiveRecords
-
-
- :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
index 0a6f4bfe7f..61b0d64ce6 100644
--- a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
+++ b/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
@@ -1,14 +1,13 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detector_ref.ts (line 2)
+ defined in angular2/src/change_detection/change_detector_ref.ts (line 2)
:markdown
Controls change detection.
ChangeDetectorRef
allows requesting checks for detectors that rely on observables. It
- also allows detaching and
- attaching change detector subtrees.
+ also allows detaching and attaching change detector subtrees.
.l-main-section
@@ -23,7 +22,6 @@ p.location-badge.
:markdown
-
@@ -37,7 +35,6 @@ p.location-badge.
requestCheck()
:markdown
-
Request to check all ON_PUSH ancestors.
@@ -55,7 +52,6 @@ p.location-badge.
detach()
:markdown
-
Detaches the change detector from the change detector tree.
The detached change detector will not be checked until it is reattached.
@@ -75,7 +71,6 @@ p.location-badge.
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
diff --git a/public/docs/js/latest/api/change_detection/ChangeDispatcher-interface.jade b/public/docs/js/latest/api/change_detection/ChangeDispatcher-interface.jade
deleted file mode 100644
index e7733a9991..0000000000
--- a/public/docs/js/latest/api/change_detection/ChangeDispatcher-interface.jade
+++ /dev/null
@@ -1,43 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/interfaces.ts (line 37)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 notifyOnBinding
-
-
- pre.prettyprint
- code.
- notifyOnBinding(bindingRecord: BindingRecord, value: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 notifyOnAllChangesDone
-
-
- pre.prettyprint
- code.
- notifyOnAllChangesDone()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/DEFAULT-var.jade b/public/docs/js/latest/api/change_detection/DEFAULT-const.jade
similarity index 100%
rename from public/docs/js/latest/api/change_detection/DEFAULT-var.jade
rename to public/docs/js/latest/api/change_detection/DEFAULT-const.jade
diff --git a/public/docs/js/latest/api/change_detection/DETACHED-var.jade b/public/docs/js/latest/api/change_detection/DETACHED-const.jade
similarity index 100%
rename from public/docs/js/latest/api/change_detection/DETACHED-var.jade
rename to public/docs/js/latest/api/change_detection/DETACHED-const.jade
diff --git a/public/docs/js/latest/api/change_detection/DehydratedException-class.jade b/public/docs/js/latest/api/change_detection/DehydratedException-class.jade
deleted file mode 100644
index d908cef366..0000000000
--- a/public/docs/js/latest/api/change_detection/DehydratedException-class.jade
+++ /dev/null
@@ -1,24 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/exceptions.ts (line 19)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/DirectiveIndex-class.jade b/public/docs/js/latest/api/change_detection/DirectiveIndex-class.jade
deleted file mode 100644
index 3a928f3ff1..0000000000
--- a/public/docs/js/latest/api/change_detection/DirectiveIndex-class.jade
+++ /dev/null
@@ -1,63 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/directive_record.ts (line 2)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(elementIndex: number, directiveIndex: number)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 elementIndex
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directiveIndex
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 name
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/DirectiveRecord-class.jade b/public/docs/js/latest/api/change_detection/DirectiveRecord-class.jade
deleted file mode 100644
index 2b9815f22e..0000000000
--- a/public/docs/js/latest/api/change_detection/DirectiveRecord-class.jade
+++ /dev/null
@@ -1,127 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/directive_record.ts (line 8)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({directiveIndex, callOnAllChangesDone, callOnChange, callOnCheck, callOnInit,
- changeDetection}?: {
- directiveIndex?: DirectiveIndex,
- callOnAllChangesDone?: boolean,
- callOnChange?: boolean,
- callOnCheck?: boolean,
- callOnInit?: boolean,
- changeDetection?: string
- })
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 directiveIndex
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 callOnAllChangesDone
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 callOnChange
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 callOnCheck
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 callOnInit
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 changeDetection
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isOnPushChangeDetection
-
-
- pre.prettyprint
- code.
- isOnPushChangeDetection()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade
deleted file mode 100644
index 67d7f0164a..0000000000
--- a/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade
+++ /dev/null
@@ -1,29 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection.ts (line 143)
-
-:markdown
- Implements change detection that does not require `eval()`.
-
- This is slower than JitChangeDetection
.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 createProtoChangeDetector
-
-
- pre.prettyprint
- code.
- createProtoChangeDetector(definition: ChangeDetectorDefinition)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/DynamicChangeDetector-class.jade b/public/docs/js/latest/api/change_detection/DynamicChangeDetector-class.jade
deleted file mode 100644
index a2227ba72d..0000000000
--- a/public/docs/js/latest/api/change_detection/DynamicChangeDetector-class.jade
+++ /dev/null
@@ -1,265 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/dynamic_change_detector.ts (line 11)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(id: string, changeControlStrategy: string, dispatcher: any, protos: List<ProtoRecord>, directiveRecords: List<any>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 locals
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 values
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 changes
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 localPipes
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 prevContexts
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directives
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 alreadyChecked
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 pipes
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 changeControlStrategy
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dispatcher
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 protos
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directiveRecords
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 hydrate
-
-
- pre.prettyprint
- code.
- hydrate(context: any, locals: Locals, directives: any, pipes: Pipes)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dehydrate
-
-
- pre.prettyprint
- code.
- dehydrate()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 hydrated
-
-
- pre.prettyprint
- code.
- hydrated()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 detectChangesInRecords
-
-
- pre.prettyprint
- code.
- detectChangesInRecords(throwOnChange: boolean)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 callOnAllChangesDone
-
-
- pre.prettyprint
- code.
- callOnAllChangesDone()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/DynamicProtoChangeDetector-class.jade b/public/docs/js/latest/api/change_detection/DynamicProtoChangeDetector-class.jade
deleted file mode 100644
index a20ffcd835..0000000000
--- a/public/docs/js/latest/api/change_detection/DynamicProtoChangeDetector-class.jade
+++ /dev/null
@@ -1,54 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/proto_change_detector.ts (line 36)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(definition: ChangeDetectorDefinition)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 definition
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 instantiate
-
-
- pre.prettyprint
- code.
- instantiate(dispatcher: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenChecked-class.jade b/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenChecked-class.jade
deleted file mode 100644
index 426a291b65..0000000000
--- a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenChecked-class.jade
+++ /dev/null
@@ -1,24 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/exceptions.ts (line 2)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(proto: ProtoRecord, change: any)
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade b/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade
new file mode 100644
index 0000000000..d57e295e5f
--- /dev/null
+++ b/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade
@@ -0,0 +1,31 @@
+
+p.location-badge.
+ exported from angular2/change_detection
+ defined in angular2/src/change_detection/exceptions.ts (line 2)
+
+:markdown
+ An error thrown if application changes model breaking the top-down data flow.
+
+ Angular expects that the data flows from top (root) component to child (leaf) components.
+ This is known as directed acyclic graph. This allows Angular to only execute change detection
+ once and prevents loops in change detection data flow.
+
+ This exception is only thrown in dev mode.
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(proto: ProtoRecord, change: any, context: any)
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/change_detection/ImplicitReceiver-class.jade b/public/docs/js/latest/api/change_detection/ImplicitReceiver-class.jade
deleted file mode 100644
index d2f2c5af3a..0000000000
--- a/public/docs/js/latest/api/change_detection/ImplicitReceiver-class.jade
+++ /dev/null
@@ -1,43 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/ast.ts (line 23)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 eval
-
-
- pre.prettyprint
- code.
- eval(context: any, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visit
-
-
- pre.prettyprint
- code.
- visit(visitor: AstVisitor)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade
deleted file mode 100644
index 9b05b2e812..0000000000
--- a/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade
+++ /dev/null
@@ -1,30 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection.ts (line 156)
-
-:markdown
- Implements faster change detection by generating source code.
-
- This requires `eval()`. For change detection that does not require `eval()`, see
- DynamicChangeDetection
and PreGeneratedChangeDetection
.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 createProtoChangeDetector
-
-
- pre.prettyprint
- code.
- createProtoChangeDetector(definition: ChangeDetectorDefinition)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/Lexer-class.jade b/public/docs/js/latest/api/change_detection/Lexer-class.jade
deleted file mode 100644
index 246ac55d73..0000000000
--- a/public/docs/js/latest/api/change_detection/Lexer-class.jade
+++ /dev/null
@@ -1,26 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/lexer.ts (line 18)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 tokenize
-
-
- pre.prettyprint
- code.
- tokenize(text: string)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/LiteralArray-class.jade b/public/docs/js/latest/api/change_detection/LiteralArray-class.jade
deleted file mode 100644
index 4b65bfe249..0000000000
--- a/public/docs/js/latest/api/change_detection/LiteralArray-class.jade
+++ /dev/null
@@ -1,71 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/ast.ts (line 156)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(expressions: List<any>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 expressions
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 eval
-
-
- pre.prettyprint
- code.
- eval(context: any, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 visit
-
-
- pre.prettyprint
- code.
- visit(visitor: AstVisitor)
-
- :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 da7f222383..0000000000
--- a/public/docs/js/latest/api/change_detection/Locals-class.jade
+++ /dev/null
@@ -1,118 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/locals.ts (line 2)
-
-:markdown
-
-
-.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/NullPipe-class.jade b/public/docs/js/latest/api/change_detection/NullPipe-class.jade
index fc029c7d8c..6c0ea8f046 100644
--- a/public/docs/js/latest/api/change_detection/NullPipe-class.jade
+++ b/public/docs/js/latest/api/change_detection/NullPipe-class.jade
@@ -13,7 +13,6 @@ p.location-badge.
:markdown
-
@@ -30,7 +29,6 @@ p.location-badge.
supports(obj: any)
:markdown
-
@@ -47,7 +45,6 @@ p.location-badge.
transform(value: any, args?: List<any>)
:markdown
-
diff --git a/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade b/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade
index c6fe13012e..706ba7a775 100644
--- a/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade
+++ b/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade
@@ -6,6 +6,16 @@ p.location-badge.
:markdown
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -17,7 +27,6 @@ p.location-badge.
supports(obj: any)
:markdown
-
@@ -34,7 +43,6 @@ p.location-badge.
create(cdRef: ChangeDetectorRef)
:markdown
-
diff --git a/public/docs/js/latest/api/change_detection/ON_PUSH-var.jade b/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade
similarity index 100%
rename from public/docs/js/latest/api/change_detection/ON_PUSH-var.jade
rename to public/docs/js/latest/api/change_detection/ON_PUSH-const.jade
diff --git a/public/docs/js/latest/api/change_detection/Parser-class.jade b/public/docs/js/latest/api/change_detection/Parser-class.jade
deleted file mode 100644
index 875531a5eb..0000000000
--- a/public/docs/js/latest/api/change_detection/Parser-class.jade
+++ /dev/null
@@ -1,126 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/parser/parser.ts (line 49)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_lexer: Lexer, providedReflector?: Reflector)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 parseAction
-
-
- pre.prettyprint
- code.
- parseAction(input: string, location: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 parseBinding
-
-
- pre.prettyprint
- code.
- parseBinding(input: string, location: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 parseSimpleBinding
-
-
- pre.prettyprint
- code.
- parseSimpleBinding(input: string, location: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 parseTemplateBindings
-
-
- pre.prettyprint
- code.
- parseTemplateBindings(input: string, location: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 parseInterpolation
-
-
- pre.prettyprint
- code.
- parseInterpolation(input: string, location: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 wrapLiteralPrimitive
-
-
- pre.prettyprint
- code.
- wrapLiteralPrimitive(input: string, location: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/Pipe-interface.jade b/public/docs/js/latest/api/change_detection/Pipe-interface.jade
index 7d1e72ffa1..8050440399 100644
--- a/public/docs/js/latest/api/change_detection/Pipe-interface.jade
+++ b/public/docs/js/latest/api/change_detection/Pipe-interface.jade
@@ -1,12 +1,10 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipe.ts (line 28)
+ defined in angular2/src/change_detection/pipes/pipe.ts (line 28)
:markdown
- An interface for extending the list of pipes known to Angular.
-
- If you are writing a custom Pipe
, you must extend this interface.
+ An interface which all pipes must implement.
#Example
@@ -36,7 +34,7 @@ p.location-badge.
supports(obj: any)
:markdown
-
+ Query if a pipe supports a particular object instance.
@@ -53,7 +51,6 @@ p.location-badge.
onDestroy()
:markdown
-
@@ -70,7 +67,6 @@ p.location-badge.
transform(value: any, args: List<any>)
:markdown
-
diff --git a/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade b/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade
index 585bed043e..fb471bc755 100644
--- a/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade
+++ b/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade
@@ -1,11 +1,12 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipe.ts (line 75)
+ defined in angular2/src/change_detection/pipes/pipe.ts (line 78)
:markdown
+
.l-main-section
h2 Members
.l-sub-section
@@ -17,7 +18,6 @@ p.location-badge.
supports(obs: any)
:markdown
-
@@ -34,7 +34,6 @@ p.location-badge.
create(cdRef: ChangeDetectorRef)
:markdown
-
diff --git a/public/docs/js/latest/api/change_detection/Pipes-class.jade b/public/docs/js/latest/api/change_detection/Pipes-class.jade
index e641adbe99..bc71cb29a9 100644
--- a/public/docs/js/latest/api/change_detection/Pipes-class.jade
+++ b/public/docs/js/latest/api/change_detection/Pipes-class.jade
@@ -1,11 +1,28 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipes.ts (line 6)
+ defined in angular2/src/change_detection/pipes/pipes.ts (line 6)
:markdown
+
+.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
@@ -28,7 +45,6 @@ p.location-badge.
:markdown
-
Map of Pipe
names to PipeFactory
lists used to configure the
Pipes
registry.
@@ -60,7 +76,6 @@ p.location-badge.
get(type: string, obj: any, cdRef?: ChangeDetectorRef, existingPipe?: Pipe)
:markdown
-
diff --git a/public/docs/js/latest/api/change_detection/PreGeneratedChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/PreGeneratedChangeDetection-class.jade
deleted file mode 100644
index b902c8a51f..0000000000
--- a/public/docs/js/latest/api/change_detection/PreGeneratedChangeDetection-class.jade
+++ /dev/null
@@ -1,43 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection.ts (line 115)
-
-:markdown
- Implements change detection using a map of pregenerated proto detectors.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(protoChangeDetectorsForTest?:
- StringMap<string, Function>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 createProtoChangeDetector
-
-
- pre.prettyprint
- code.
- createProtoChangeDetector(definition: ChangeDetectorDefinition)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/ProtoChangeDetector-interface.jade b/public/docs/js/latest/api/change_detection/ProtoChangeDetector-interface.jade
deleted file mode 100644
index c11711586e..0000000000
--- a/public/docs/js/latest/api/change_detection/ProtoChangeDetector-interface.jade
+++ /dev/null
@@ -1,26 +0,0 @@
-
-p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/interfaces.ts (line 59)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 instantiate
-
-
- pre.prettyprint
- code.
- instantiate(dispatcher: 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
index 50e3986a2b..1e41064771 100644
--- a/public/docs/js/latest/api/change_detection/WrappedValue-class.jade
+++ b/public/docs/js/latest/api/change_detection/WrappedValue-class.jade
@@ -32,7 +32,6 @@ p.location-badge.
:markdown
-
diff --git a/public/docs/js/latest/api/change_detection/_data.json b/public/docs/js/latest/api/change_detection/_data.json
index 0f2cae4b11..2731014397 100644
--- a/public/docs/js/latest/api/change_detection/_data.json
+++ b/public/docs/js/latest/api/change_detection/_data.json
@@ -4,130 +4,42 @@
"intro" : "Change detection enables data binding in Angular."
},
- "ASTWithSource-class" : {
- "title" : "ASTWithSource Class"
+ "CHECK_ONCE-const" : {
+ "title" : "CHECK_ONCE Const"
},
- "AST-class" : {
- "title" : "AST Class"
+ "CHECK_ALWAYS-const" : {
+ "title" : "CHECK_ALWAYS Const"
},
- "AstTransformer-class" : {
- "title" : "AstTransformer Class"
+ "DETACHED-const" : {
+ "title" : "DETACHED Const"
},
- "AccessMember-class" : {
- "title" : "AccessMember Class"
+ "CHECKED-const" : {
+ "title" : "CHECKED Const"
},
- "LiteralArray-class" : {
- "title" : "LiteralArray Class"
+ "ON_PUSH-const" : {
+ "title" : "ON_PUSH Const"
},
- "ImplicitReceiver-class" : {
- "title" : "ImplicitReceiver Class"
+ "DEFAULT-const" : {
+ "title" : "DEFAULT Const"
},
- "Lexer-class" : {
- "title" : "Lexer Class"
- },
-
- "Parser-class" : {
- "title" : "Parser Class"
- },
-
- "Locals-class" : {
- "title" : "Locals Class"
- },
-
- "DehydratedException-class" : {
- "title" : "DehydratedException Class"
- },
-
- "ExpressionChangedAfterItHasBeenChecked-class" : {
- "title" : "ExpressionChangedAfterItHasBeenChecked Class"
+ "ExpressionChangedAfterItHasBeenCheckedException-class" : {
+ "title" : "ExpressionChangedAfterItHasBeenCheckedException Class"
},
"ChangeDetectionError-class" : {
"title" : "ChangeDetectionError Class"
},
- "ProtoChangeDetector-interface" : {
- "title" : "ProtoChangeDetector Interface"
- },
-
- "ChangeDetector-interface" : {
- "title" : "ChangeDetector Interface"
- },
-
- "ChangeDispatcher-interface" : {
- "title" : "ChangeDispatcher Interface"
- },
-
- "ChangeDetection-class" : {
- "title" : "ChangeDetection Class"
- },
-
- "ChangeDetectorDefinition-class" : {
- "title" : "ChangeDetectorDefinition Class"
- },
-
- "CHECK_ONCE-var" : {
- "title" : "CHECK_ONCE Var"
- },
-
- "CHECK_ALWAYS-var" : {
- "title" : "CHECK_ALWAYS Var"
- },
-
- "DETACHED-var" : {
- "title" : "DETACHED Var"
- },
-
- "CHECKED-var" : {
- "title" : "CHECKED Var"
- },
-
- "ON_PUSH-var" : {
- "title" : "ON_PUSH Var"
- },
-
- "DEFAULT-var" : {
- "title" : "DEFAULT Var"
- },
-
- "DynamicProtoChangeDetector-class" : {
- "title" : "DynamicProtoChangeDetector Class"
- },
-
- "BindingRecord-class" : {
- "title" : "BindingRecord Class"
- },
-
- "DirectiveIndex-class" : {
- "title" : "DirectiveIndex Class"
- },
-
- "DirectiveRecord-class" : {
- "title" : "DirectiveRecord Class"
- },
-
- "DynamicChangeDetector-class" : {
- "title" : "DynamicChangeDetector Class"
- },
-
"ChangeDetectorRef-class" : {
"title" : "ChangeDetectorRef Class"
},
- "Pipes-class" : {
- "title" : "Pipes Class"
- },
-
- "uninitialized-var" : {
- "title" : "uninitialized Var"
- },
-
"WrappedValue-class" : {
"title" : "WrappedValue Class"
},
@@ -136,6 +48,10 @@
"title" : "Pipe Interface"
},
+ "Pipes-class" : {
+ "title" : "Pipes Class"
+ },
+
"PipeFactory-interface" : {
"title" : "PipeFactory Interface"
},
@@ -150,25 +66,5 @@
"NullPipeFactory-class" : {
"title" : "NullPipeFactory Class"
- },
-
- "defaultPipes-var" : {
- "title" : "defaultPipes Var"
- },
-
- "DynamicChangeDetection-class" : {
- "title" : "DynamicChangeDetection Class"
- },
-
- "JitChangeDetection-class" : {
- "title" : "JitChangeDetection Class"
- },
-
- "PreGeneratedChangeDetection-class" : {
- "title" : "PreGeneratedChangeDetection Class"
- },
-
- "preGeneratedProtoDetectors-var" : {
- "title" : "preGeneratedProtoDetectors Var"
}
}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/change_detection/defaultPipes-var.jade b/public/docs/js/latest/api/change_detection/defaultPipes-var.jade
deleted file mode 100644
index ccbb11c339..0000000000
--- a/public/docs/js/latest/api/change_detection/defaultPipes-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 defaultPipes variable
- p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection.ts (line 92)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/index.jade b/public/docs/js/latest/api/change_detection/index.jade
index d6b19368d0..e5641e1c2d 100644
--- a/public/docs/js/latest/api/change_detection/index.jade
+++ b/public/docs/js/latest/api/change_detection/index.jade
@@ -1,5 +1,5 @@
p.location-badge.
- defined in angular2/change_detection.ts (line 1)
+ 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
diff --git a/public/docs/js/latest/api/change_detection/preGeneratedProtoDetectors-var.jade b/public/docs/js/latest/api/change_detection/preGeneratedProtoDetectors-var.jade
deleted file mode 100644
index 4d74942139..0000000000
--- a/public/docs/js/latest/api/change_detection/preGeneratedProtoDetectors-var.jade
+++ /dev/null
@@ -1,14 +0,0 @@
-
-.l-main-section
- h2 preGeneratedProtoDetectors variable
- p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection.ts (line 113)
-
- :markdown
- Map from ChangeDetectorDefinition
to a factory method which takes a
- Pipes
and a ChangeDetectorDefinition
and generates a
- ProtoChangeDetector
associated with the definition.
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/uninitialized-var.jade b/public/docs/js/latest/api/change_detection/uninitialized-var.jade
deleted file mode 100644
index 0bc41896f6..0000000000
--- a/public/docs/js/latest/api/change_detection/uninitialized-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 uninitialized variable
- p.location-badge.
- exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection_util.ts (line 8)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/core/AppRootUrl-class.jade b/public/docs/js/latest/api/core/AppRootUrl-class.jade
index 17673fc71a..7d8052c0ff 100644
--- a/public/docs/js/latest/api/core/AppRootUrl-class.jade
+++ b/public/docs/js/latest/api/core/AppRootUrl-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/services/app_root_url.ts (line 3)
+ defined in angular2/src/services/app_root_url.ts (line 2)
:markdown
Specifies app root url for the application.
@@ -13,17 +13,42 @@ p.location-badge.
See Compiler
+
+.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
index aa55998cfa..0af823d1a9 100644
--- a/public/docs/js/latest/api/core/AppViewManager-class.jade
+++ b/public/docs/js/latest/api/core/AppViewManager-class.jade
@@ -9,6 +9,16 @@ p.location-badge.
in AppViewManagerUtils and the Renderer, so unit tests get simpler.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -34,7 +44,6 @@ p.location-badge.
getViewContainer(location: ElementRef)
:markdown
-
Returns a ViewContainerRef
at the ElementRef
location.
@@ -49,10 +58,9 @@ p.location-badge.
pre.prettyprint
code.
- getHostElement(hostViewRef: ViewRef)
+ getHostElement(hostViewRef: HostViewRef)
:markdown
-
Return the first child element of the host element view.
@@ -70,7 +78,6 @@ p.location-badge.
getNamedElementInComponentView(hostLocation: ElementRef, variableName: string)
:markdown
-
Returns an ElementRef for the element with the given variable name
in the current view.
@@ -94,7 +101,6 @@ p.location-badge.
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
@@ -115,7 +121,6 @@ p.location-badge.
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
@@ -181,10 +186,9 @@ p.location-badge.
pre.prettyprint
code.
- destroyRootHostView(hostViewRef: ViewRef)
+ destroyRootHostView(hostViewRef: HostViewRef)
:markdown
-
Remove the View created with AppViewManager
.
@@ -202,7 +206,6 @@ p.location-badge.
createEmbeddedViewInContainer(viewContainerLocation: ElementRef, atIndex: number, templateRef: TemplateRef)
:markdown
-
See AppViewManager
.
@@ -220,7 +223,6 @@ p.location-badge.
createHostViewInContainer(viewContainerLocation: ElementRef, atIndex: number, protoViewRef: ProtoViewRef, imperativelyCreatedInjector: ResolvedBinding[])
:markdown
-
See AppViewManager
.
@@ -238,7 +240,6 @@ p.location-badge.
destroyViewInContainer(viewContainerLocation: ElementRef, atIndex: number)
:markdown
-
See AppViewManager
.
@@ -256,7 +257,6 @@ p.location-badge.
attachViewInContainer(viewContainerLocation: ElementRef, atIndex: number, viewRef: ViewRef)
:markdown
-
See AppViewManager
.
@@ -274,7 +274,6 @@ p.location-badge.
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
index 0e78dccbb3..42f84f2917 100644
--- a/public/docs/js/latest/api/core/ApplicationRef-class.jade
+++ b/public/docs/js/latest/api/core/ApplicationRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/application_common.ts (line 317)
+ defined in angular2/src/core/application_common.ts (line 309)
:markdown
Represents a Angular's representation of an Application.
@@ -32,7 +32,6 @@ p.location-badge.
:markdown
-
Returns the current Component
type.
@@ -46,7 +45,6 @@ p.location-badge.
:markdown
-
Returns the current Component
instance.
@@ -64,7 +62,6 @@ p.location-badge.
dispose()
:markdown
-
Dispose (un-load) the application.
@@ -78,7 +75,6 @@ p.location-badge.
: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
index 7ccfcf00e4..2a8bcd12b2 100644
--- a/public/docs/js/latest/api/core/Compiler-class.jade
+++ b/public/docs/js/latest/api/core/Compiler-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/compiler.ts (line 60)
+ defined in angular2/src/core/compiler/compiler.ts (line 60)
:markdown
## URL Resolution
@@ -24,6 +24,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -49,7 +59,6 @@ p.location-badge.
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
index 8670be1c82..916f672e7f 100644
--- a/public/docs/js/latest/api/core/ComponentRef-class.jade
+++ b/public/docs/js/latest/api/core/ComponentRef-class.jade
@@ -1,9 +1,12 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 7)
+ defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 7)
:markdown
+ Angular's reference to a component instance.
+
+ `ComponentRef` represents a component instance lifecycle and meta information.
.l-main-section
@@ -14,11 +17,10 @@ p.location-badge.
pre.prettyprint
code.
- constructor(location: ElementRef, instance: any, dispose: Function)
+ constructor(location: ElementRef, instance: any, _dispose: () => void)
:markdown
-
@@ -28,7 +30,7 @@ p.location-badge.
:markdown
-
+ Location of the component host element.
@@ -41,20 +43,7 @@ p.location-badge.
:markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dispose
-
-
- :markdown
-
+ Instance of component.
@@ -67,7 +56,24 @@ p.location-badge.
: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
index 93c76d515c..825725211d 100644
--- a/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade
+++ b/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade
@@ -11,6 +11,16 @@ p.location-badge.
See Compiler
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -22,7 +32,6 @@ p.location-badge.
getUrl(component: Type)
:markdown
-
Returns the base URL to the component source file.
The returned URL could be:
- an absolute URL,
diff --git a/public/docs/js/latest/api/core/DirectiveResolver-class.jade b/public/docs/js/latest/api/core/DirectiveResolver-class.jade
index 75863ee57e..0b43e91f10 100644
--- a/public/docs/js/latest/api/core/DirectiveResolver-class.jade
+++ b/public/docs/js/latest/api/core/DirectiveResolver-class.jade
@@ -11,6 +11,16 @@ p.location-badge.
See Compiler
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -22,7 +32,6 @@ p.location-badge.
resolve(type: Type)
:markdown
-
Return Directive
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
index c401fedd31..fe9397bbf5 100644
--- a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
+++ b/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
@@ -1,13 +1,23 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 13)
+ defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 42)
:markdown
Service for dynamically loading a Component into an arbitrary position in the internal Angular
application tree.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -34,13 +44,61 @@ p.location-badge.
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 (ViewRef
where the `ElementRef` is inside of.
@@ -48,7 +47,6 @@ p.location-badge.
:markdown
-
Index of the element inside the ViewRef
.
This is used internally by the Angular framework to locate elements.
@@ -64,7 +62,6 @@ p.location-badge.
:markdown
-
Index of the element inside the `RenderViewRef`.
This is used internally by the Angular framework to locate elements.
@@ -80,7 +77,6 @@ p.location-badge.
:markdown
-
@@ -95,7 +91,6 @@ p.location-badge.
:markdown
-
Returns the native Element implementation.
In the browser this represents the DOM Element.
diff --git a/public/docs/js/latest/api/core/EventEmitter-class.jade b/public/docs/js/latest/api/core/EventEmitter-class.jade
index eea7334e96..8ebdc96529 100644
--- a/public/docs/js/latest/api/core/EventEmitter-class.jade
+++ b/public/docs/js/latest/api/core/EventEmitter-class.jade
@@ -36,7 +36,6 @@ p.location-badge.
observer(generator: any)
:markdown
-
@@ -53,7 +52,6 @@ p.location-badge.
toRx()
:markdown
-
@@ -70,7 +68,6 @@ p.location-badge.
next(value: any)
:markdown
-
@@ -87,7 +84,6 @@ p.location-badge.
throw(error: any)
:markdown
-
@@ -104,7 +100,6 @@ p.location-badge.
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
new file mode 100644
index 0000000000..01b1d3c330
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostViewRef-interface.jade
@@ -0,0 +1,8 @@
+
+p.location-badge.
+ exported from angular2/core
+ defined in angular2/src/core/compiler/view_ref.ts (line 13)
+
+:markdown
+
+
diff --git a/public/docs/js/latest/api/core/NgZone-class.jade b/public/docs/js/latest/api/core/NgZone-class.jade
index 064f90eb89..b9ff536a0a 100644
--- a/public/docs/js/latest/api/core/NgZone-class.jade
+++ b/public/docs/js/latest/api/core/NgZone-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/zone/ng_zone.ts (line 4)
+ defined in angular2/src/core/zone/ng_zone.ts (line 4)
:markdown
A wrapper around zones that lets you schedule tasks after it has executed a task.
@@ -42,7 +42,6 @@ p.location-badge.
overrideOnTurnStart(onTurnStartFn: Function)
:markdown
-
Sets the zone hook that is called just before Angular event turn starts.
It is called once per browser event.
@@ -61,7 +60,6 @@ p.location-badge.
overrideOnTurnDone(onTurnDoneFn: Function)
:markdown
-
Sets the zone hook that is called immediately after Angular processes
all pending microtasks.
@@ -77,10 +75,9 @@ p.location-badge.
pre.prettyprint
code.
- overrideOnEventDone(onEventDoneFn: Function)
+ 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
@@ -103,7 +100,6 @@ p.location-badge.
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.
@@ -123,7 +119,6 @@ p.location-badge.
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
@@ -153,7 +148,6 @@ p.location-badge.
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
@@ -162,7 +156,7 @@ p.location-badge.
```
var zone: NgZone = [ref to the application zone];
- zone.runOusideAngular(() => {
+ 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
index c502a9de1e..6bdbb25d47 100644
--- a/public/docs/js/latest/api/core/Observable-class.jade
+++ b/public/docs/js/latest/api/core/Observable-class.jade
@@ -17,7 +17,6 @@ p.location-badge.
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
index 11dfd5bfb3..962993d6e4 100644
--- a/public/docs/js/latest/api/core/ProtoViewRef-class.jade
+++ b/public/docs/js/latest/api/core/ProtoViewRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_ref.ts (line 85)
+ defined in angular2/src/core/compiler/view_ref.ts (line 91)
:markdown
A reference to an Angular ProtoView.
diff --git a/public/docs/js/latest/api/core/QueryList-class.jade b/public/docs/js/latest/api/core/QueryList-class.jade
index 0ac5b50c70..90e8ced7fe 100644
--- a/public/docs/js/latest/api/core/QueryList-class.jade
+++ b/public/docs/js/latest/api/core/QueryList-class.jade
@@ -22,7 +22,6 @@ p.location-badge.
reset(newList: List<T>)
:markdown
-
@@ -39,7 +38,6 @@ p.location-badge.
add(obj: T)
:markdown
-
@@ -56,7 +54,6 @@ p.location-badge.
fireCallbacks()
:markdown
-
@@ -73,7 +70,6 @@ p.location-badge.
onChange(callback: () => void)
:markdown
-
@@ -90,7 +86,6 @@ p.location-badge.
removeCallback(callback: () => void)
:markdown
-
@@ -103,7 +98,6 @@ p.location-badge.
:markdown
-
@@ -116,7 +110,6 @@ p.location-badge.
:markdown
-
@@ -129,7 +122,6 @@ p.location-badge.
:markdown
-
@@ -143,10 +135,9 @@ p.location-badge.
pre.prettyprint
code.
- map(fn: (T) => U)
+ map(fn: (item: T) => U)
:markdown
-
diff --git a/public/docs/js/latest/api/core/RenderElementRef-interface.jade b/public/docs/js/latest/api/core/RenderElementRef-interface.jade
index c5129ee3c3..dc83b65cdc 100644
--- a/public/docs/js/latest/api/core/RenderElementRef-interface.jade
+++ b/public/docs/js/latest/api/core/RenderElementRef-interface.jade
@@ -1,10 +1,10 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/render/api.ts (line 350)
+ defined in angular2/src/render/api.ts (line 354)
:markdown
- Abstract reference to the element which can be marshaled across web-worker boundry.
+ Abstract reference to the element which can be marshaled across web-worker boundary.
This interface is used by the Renderer API.
@@ -16,7 +16,6 @@ p.location-badge.
:markdown
-
Reference to the `RenderViewRef` where the `RenderElementRef` is inside of.
@@ -30,7 +29,6 @@ p.location-badge.
:markdown
-
Index of the element inside the `RenderViewRef`.
This is used internally by the Angular framework to locate elements.
diff --git a/public/docs/js/latest/api/core/TemplateRef-class.jade b/public/docs/js/latest/api/core/TemplateRef-class.jade
index 5de355c610..3cde3b3d21 100644
--- a/public/docs/js/latest/api/core/TemplateRef-class.jade
+++ b/public/docs/js/latest/api/core/TemplateRef-class.jade
@@ -32,7 +32,6 @@ p.location-badge.
:markdown
-
The location of the template
@@ -46,7 +45,6 @@ p.location-badge.
:markdown
-
@@ -63,7 +61,6 @@ p.location-badge.
hasLocal(name: string)
:markdown
-
Whether this template has a local variable with the given name
diff --git a/public/docs/js/latest/api/core/UrlResolver-class.jade b/public/docs/js/latest/api/core/UrlResolver-class.jade
index a5fedd1fd4..fed3e518ef 100644
--- a/public/docs/js/latest/api/core/UrlResolver-class.jade
+++ b/public/docs/js/latest/api/core/UrlResolver-class.jade
@@ -11,6 +11,16 @@ p.location-badge.
See Compiler
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -22,7 +32,6 @@ p.location-badge.
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
diff --git a/public/docs/js/latest/api/core/ViewContainerRef-class.jade b/public/docs/js/latest/api/core/ViewContainerRef-class.jade
index e08331d4eb..48b575fc48 100644
--- a/public/docs/js/latest/api/core/ViewContainerRef-class.jade
+++ b/public/docs/js/latest/api/core/ViewContainerRef-class.jade
@@ -1,9 +1,14 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_container_ref.ts (line 10)
+ defined in angular2/src/core/compiler/view_container_ref.ts (line 10)
:markdown
+ A location where ViewRef
s can be attached.
+
+ A `ViewContainerRef` represents a location in a ViewRef
where other child
+ ViewRef
s can be inserted. Adding and removing views is the only way of structurally
+ changing the rendered DOM of the application.
.l-main-section
@@ -18,7 +23,6 @@ p.location-badge.
:markdown
-
@@ -28,7 +32,6 @@ p.location-badge.
:markdown
-
@@ -41,7 +44,6 @@ p.location-badge.
:markdown
-
@@ -58,7 +60,7 @@ p.location-badge.
clear()
:markdown
-
+ Remove all ViewRef
s at current location.
@@ -75,7 +77,7 @@ p.location-badge.
get(index: number)
:markdown
-
+ Return a ViewRef
at specific index.
@@ -88,7 +90,7 @@ p.location-badge.
:markdown
-
+ Returns number of ViewRef
s currently attached at this location.
@@ -105,7 +107,18 @@ p.location-badge.
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
.
@@ -122,7 +135,6 @@ p.location-badge.
createHostView(protoViewRef?: ProtoViewRef, atIndex?: number, dynamicallyCreatedBindings?: ResolvedBinding[])
:markdown
-
@@ -139,7 +151,12 @@ p.location-badge.
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
.
@@ -156,7 +173,7 @@ p.location-badge.
indexOf(viewRef: ViewRef)
:markdown
-
+ Return the index of already inserted ViewRef
.
@@ -173,7 +190,9 @@ p.location-badge.
remove(atIndex?: number)
:markdown
-
+ Remove a ViewRef
at specific index.
+
+ If the index is omitted last ViewRef
is removed.
@@ -190,7 +209,6 @@ p.location-badge.
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
index d85ddbbb84..116fd49724 100644
--- a/public/docs/js/latest/api/core/ViewRef-class.jade
+++ b/public/docs/js/latest/api/core/ViewRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_ref.ts (line 13)
+ defined in angular2/src/core/compiler/view_ref.ts (line 15)
:markdown
A reference to an Angular View.
@@ -44,14 +44,14 @@ p.location-badge.
The outter/inner ProtoViewRef
s are then assembled into views like so:
```
-
+
Count: 2
Injector
returns the same instance as if the alias token was used.
@@ -165,7 +171,6 @@ p.location-badge.
:markdown
-
Binds a key to a function which computes the value.
@@ -192,7 +197,6 @@ p.location-badge.
:markdown
-
Used in conjunction with `toFactory` and specifies a set of dependencies
(as `token`s) which should be injected into the factory function.
@@ -224,7 +228,6 @@ p.location-badge.
resolve()
:markdown
-
Converts the Binding
into ResolvedBinding
.
Injector
internally only uses ResolvedBinding
, Binding
contains
diff --git a/public/docs/js/latest/api/di/BindingBuilder-class.jade b/public/docs/js/latest/api/di/BindingBuilder-class.jade
index 0b7e03744a..61496fd21c 100644
--- a/public/docs/js/latest/api/di/BindingBuilder-class.jade
+++ b/public/docs/js/latest/api/di/BindingBuilder-class.jade
@@ -29,7 +29,6 @@ p.location-badge.
:markdown
-
@@ -46,7 +45,6 @@ p.location-badge.
toClass(type: Type)
:markdown
-
Binds an interface to an implementation / subclass.
@@ -91,7 +89,6 @@ p.location-badge.
toValue(value: any)
:markdown
-
Binds a key to a value.
@@ -119,7 +116,6 @@ p.location-badge.
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
@@ -167,7 +163,6 @@ p.location-badge.
toFactory(factoryFunction: Function, dependencies?: List<any>)
:markdown
-
Binds a key to a function which computes the value.
diff --git a/public/docs/js/latest/api/di/BindingWithVisibility-class.jade b/public/docs/js/latest/api/di/BindingWithVisibility-class.jade
index f3b6303d14..c81a3ea570 100644
--- a/public/docs/js/latest/api/di/BindingWithVisibility-class.jade
+++ b/public/docs/js/latest/api/di/BindingWithVisibility-class.jade
@@ -28,7 +28,6 @@ p.location-badge.
:markdown
-
@@ -41,7 +40,6 @@ p.location-badge.
:markdown
-
@@ -58,7 +56,6 @@ p.location-badge.
getKeyId()
:markdown
-
diff --git a/public/docs/js/latest/api/di/DEFAULT_VISIBILITY-var.jade b/public/docs/js/latest/api/di/DEFAULT_VISIBILITY-const.jade
similarity index 81%
rename from public/docs/js/latest/api/di/DEFAULT_VISIBILITY-var.jade
rename to public/docs/js/latest/api/di/DEFAULT_VISIBILITY-const.jade
index 91e4fffcd1..e926476249 100644
--- a/public/docs/js/latest/api/di/DEFAULT_VISIBILITY-var.jade
+++ b/public/docs/js/latest/api/di/DEFAULT_VISIBILITY-const.jade
@@ -3,7 +3,7 @@
h2 DEFAULT_VISIBILITY variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 199)
+ defined in angular2/src/di/metadata.ts (line 199)
:markdown
diff --git a/public/docs/js/latest/api/di/Dependency-class.jade b/public/docs/js/latest/api/di/Dependency-class.jade
index 92c85410b0..f9b861a461 100644
--- a/public/docs/js/latest/api/di/Dependency-class.jade
+++ b/public/docs/js/latest/api/di/Dependency-class.jade
@@ -27,7 +27,6 @@ p.location-badge.
:markdown
-
@@ -40,7 +39,6 @@ p.location-badge.
:markdown
-
@@ -53,7 +51,6 @@ p.location-badge.
:markdown
-
@@ -66,7 +63,6 @@ p.location-badge.
:markdown
-
diff --git a/public/docs/js/latest/api/di/DependencyMetadata-class.jade b/public/docs/js/latest/api/di/DependencyMetadata-class.jade
index 1dbb04e613..bf206054fe 100644
--- a/public/docs/js/latest/api/di/DependencyMetadata-class.jade
+++ b/public/docs/js/latest/api/di/DependencyMetadata-class.jade
@@ -30,6 +30,16 @@ p.location-badge.
in a specific way.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -37,7 +47,6 @@ p.location-badge.
:markdown
-
diff --git a/public/docs/js/latest/api/di/DependencyProvider-interface.jade b/public/docs/js/latest/api/di/DependencyProvider-interface.jade
index bea329d6b2..101a0232f1 100644
--- a/public/docs/js/latest/api/di/DependencyProvider-interface.jade
+++ b/public/docs/js/latest/api/di/DependencyProvider-interface.jade
@@ -18,7 +18,6 @@ p.location-badge.
getDependency(injector: Injector, binding: ResolvedBinding, dependency: Dependency)
:markdown
-
diff --git a/public/docs/js/latest/api/di/InjectMetadata-class.jade b/public/docs/js/latest/api/di/InjectMetadata-class.jade
index cb4bd10a28..cbfd676d7d 100644
--- a/public/docs/js/latest/api/di/InjectMetadata-class.jade
+++ b/public/docs/js/latest/api/di/InjectMetadata-class.jade
@@ -13,6 +13,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -35,7 +45,6 @@ p.location-badge.
:markdown
-
@@ -52,7 +61,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/InjectableMetadata-class.jade b/public/docs/js/latest/api/di/InjectableMetadata-class.jade
index b94c05ba9c..60b94b370e 100644
--- a/public/docs/js/latest/api/di/InjectableMetadata-class.jade
+++ b/public/docs/js/latest/api/di/InjectableMetadata-class.jade
@@ -17,6 +17,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
diff --git a/public/docs/js/latest/api/di/Injector-class.jade b/public/docs/js/latest/api/di/Injector-class.jade
index 1a2c86e901..8f3784f958 100644
--- a/public/docs/js/latest/api/di/Injector-class.jade
+++ b/public/docs/js/latest/api/di/Injector-class.jade
@@ -68,7 +68,6 @@ p.location-badge.
debugContext()
:markdown
-
Returns debug information about the injector.
This information is included into exceptions thrown by the injector.
@@ -88,7 +87,6 @@ p.location-badge.
get(token: any)
:markdown
-
Retrieves an instance from the injector.
@@ -105,7 +103,6 @@ p.location-badge.
getOptional(token: any)
:markdown
-
Retrieves an instance from the injector.
@@ -122,7 +119,6 @@ p.location-badge.
getAt(index: number)
:markdown
-
Retrieves an instance from the injector.
@@ -135,7 +131,6 @@ p.location-badge.
:markdown
-
Direct parent of this injector.
@@ -149,7 +144,6 @@ p.location-badge.
:markdown
-
Internal. Do not use.
We return `any` not to export the InjectorStrategy type.
@@ -169,7 +163,6 @@ p.location-badge.
resolveAndCreateChild(bindings: List<Type | Binding | List<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
@@ -190,7 +183,6 @@ p.location-badge.
createChildFromResolved(bindings: List<ResolvedBinding>, depProvider?: DependencyProvider)
:markdown
-
Creates a child injector and loads a new set of ResolvedBinding
s into it.
@@ -203,7 +195,6 @@ p.location-badge.
:markdown
-
@@ -220,7 +211,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/InstantiationError-class.jade b/public/docs/js/latest/api/di/InstantiationError-class.jade
index 26cc28b180..72335827b0 100644
--- a/public/docs/js/latest/api/di/InstantiationError-class.jade
+++ b/public/docs/js/latest/api/di/InstantiationError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 95)
+ defined in angular2/src/di/exceptions.ts (line 95)
:markdown
Thrown when a constructing type returns with an Error.
@@ -32,7 +32,6 @@ p.location-badge.
:markdown
-
diff --git a/public/docs/js/latest/api/di/InvalidBindingError-class.jade b/public/docs/js/latest/api/di/InvalidBindingError-class.jade
index 3245cc2f6c..ed7d5cc57c 100644
--- a/public/docs/js/latest/api/di/InvalidBindingError-class.jade
+++ b/public/docs/js/latest/api/di/InvalidBindingError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 115)
+ defined in angular2/src/di/exceptions.ts (line 113)
:markdown
Thrown when an object other then Binding
(or `Type`) is passed to Injector
@@ -30,7 +30,6 @@ p.location-badge.
:markdown
-
@@ -47,7 +46,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/Key-class.jade b/public/docs/js/latest/api/di/Key-class.jade
index 3567881d11..bdf741dc62 100644
--- a/public/docs/js/latest/api/di/Key-class.jade
+++ b/public/docs/js/latest/api/di/Key-class.jade
@@ -35,7 +35,6 @@ p.location-badge.
:markdown
-
@@ -48,7 +47,6 @@ p.location-badge.
:markdown
-
@@ -61,7 +59,6 @@ p.location-badge.
:markdown
-
diff --git a/public/docs/js/latest/api/di/KeyRegistry-class.jade b/public/docs/js/latest/api/di/KeyRegistry-class.jade
index 121903cf56..8433429a30 100644
--- a/public/docs/js/latest/api/di/KeyRegistry-class.jade
+++ b/public/docs/js/latest/api/di/KeyRegistry-class.jade
@@ -16,7 +16,6 @@ p.location-badge.
get(token: Object)
:markdown
-
@@ -29,7 +28,6 @@ p.location-badge.
:markdown
-
diff --git a/public/docs/js/latest/api/di/NoAnnotationError-class.jade b/public/docs/js/latest/api/di/NoAnnotationError-class.jade
index 77dde8d0f1..e933a9683e 100644
--- a/public/docs/js/latest/api/di/NoAnnotationError-class.jade
+++ b/public/docs/js/latest/api/di/NoAnnotationError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 130)
+ defined in angular2/src/di/exceptions.ts (line 128)
:markdown
Thrown when the class has no annotation information.
@@ -32,7 +32,6 @@ p.location-badge.
:markdown
-
@@ -45,7 +44,6 @@ p.location-badge.
:markdown
-
@@ -62,7 +60,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/OpaqueToken-class.jade b/public/docs/js/latest/api/di/OpaqueToken-class.jade
index b007cd1a42..2ad688171c 100644
--- a/public/docs/js/latest/api/di/OpaqueToken-class.jade
+++ b/public/docs/js/latest/api/di/OpaqueToken-class.jade
@@ -6,6 +6,16 @@ p.location-badge.
:markdown
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -32,7 +42,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/OptionalMetadata-class.jade b/public/docs/js/latest/api/di/OptionalMetadata-class.jade
index 7d8f39be56..3315749c06 100644
--- a/public/docs/js/latest/api/di/OptionalMetadata-class.jade
+++ b/public/docs/js/latest/api/di/OptionalMetadata-class.jade
@@ -16,6 +16,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -27,7 +37,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/OutOfBoundsError-class.jade b/public/docs/js/latest/api/di/OutOfBoundsError-class.jade
index 79361fe76a..19dbecefd6 100644
--- a/public/docs/js/latest/api/di/OutOfBoundsError-class.jade
+++ b/public/docs/js/latest/api/di/OutOfBoundsError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 158)
+ defined in angular2/src/di/exceptions.ts (line 156)
:markdown
Thrown when getting an object by index.
@@ -29,7 +29,6 @@ p.location-badge.
:markdown
-
@@ -46,7 +45,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/PRIVATE-var.jade b/public/docs/js/latest/api/di/PRIVATE-const.jade
similarity index 100%
rename from public/docs/js/latest/api/di/PRIVATE-var.jade
rename to public/docs/js/latest/api/di/PRIVATE-const.jade
diff --git a/public/docs/js/latest/api/di/PUBLIC-var.jade b/public/docs/js/latest/api/di/PUBLIC-const.jade
similarity index 100%
rename from public/docs/js/latest/api/di/PUBLIC-var.jade
rename to public/docs/js/latest/api/di/PUBLIC-const.jade
diff --git a/public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-var.jade b/public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-const.jade
similarity index 100%
rename from public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-var.jade
rename to public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-const.jade
diff --git a/public/docs/js/latest/api/di/ProtoInjector-class.jade b/public/docs/js/latest/api/di/ProtoInjector-class.jade
index 5ffe82c583..70b0b68559 100644
--- a/public/docs/js/latest/api/di/ProtoInjector-class.jade
+++ b/public/docs/js/latest/api/di/ProtoInjector-class.jade
@@ -28,7 +28,6 @@ p.location-badge.
:markdown
-
@@ -45,7 +44,6 @@ p.location-badge.
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
index 1cac70c9b8..4cbfab47c6 100644
--- a/public/docs/js/latest/api/di/ResolvedBinding-class.jade
+++ b/public/docs/js/latest/api/di/ResolvedBinding-class.jade
@@ -33,7 +33,6 @@ p.location-badge.
:markdown
-
A key, usually a `Type`.
@@ -47,7 +46,6 @@ p.location-badge.
:markdown
-
Factory function which can return an instance of an object represented by a key.
@@ -61,7 +59,6 @@ p.location-badge.
:markdown
-
Arguments (dependencies) to the `factory` function.
diff --git a/public/docs/js/latest/api/di/SelfMetadata-class.jade b/public/docs/js/latest/api/di/SelfMetadata-class.jade
index b9309318fd..7764ef555b 100644
--- a/public/docs/js/latest/api/di/SelfMetadata-class.jade
+++ b/public/docs/js/latest/api/di/SelfMetadata-class.jade
@@ -22,6 +22,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -48,7 +58,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/TypeLiteral-class.jade b/public/docs/js/latest/api/di/TypeLiteral-class.jade
index 77a25bdcee..48355d97ca 100644
--- a/public/docs/js/latest/api/di/TypeLiteral-class.jade
+++ b/public/docs/js/latest/api/di/TypeLiteral-class.jade
@@ -15,7 +15,6 @@ p.location-badge.
:markdown
-
diff --git a/public/docs/js/latest/api/di/UnboundedMetadata-class.jade b/public/docs/js/latest/api/di/UnboundedMetadata-class.jade
index 676ea91005..76089ba362 100644
--- a/public/docs/js/latest/api/di/UnboundedMetadata-class.jade
+++ b/public/docs/js/latest/api/di/UnboundedMetadata-class.jade
@@ -35,6 +35,16 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -61,7 +71,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/VisibilityMetadata-class.jade b/public/docs/js/latest/api/di/VisibilityMetadata-class.jade
index a64e465a92..ec0b259a43 100644
--- a/public/docs/js/latest/api/di/VisibilityMetadata-class.jade
+++ b/public/docs/js/latest/api/di/VisibilityMetadata-class.jade
@@ -9,6 +9,16 @@ p.location-badge.
See Self
, Ancestor
, Unbounded
.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -31,7 +41,6 @@ p.location-badge.
:markdown
-
@@ -44,7 +53,6 @@ p.location-badge.
:markdown
-
@@ -61,7 +69,6 @@ p.location-badge.
toString()
:markdown
-
diff --git a/public/docs/js/latest/api/di/_data.json b/public/docs/js/latest/api/di/_data.json
index 0d23762623..257033ce6b 100644
--- a/public/docs/js/latest/api/di/_data.json
+++ b/public/docs/js/latest/api/di/_data.json
@@ -36,8 +36,8 @@
"title" : "DependencyMetadata Class"
},
- "DEFAULT_VISIBILITY-var" : {
- "title" : "DEFAULT_VISIBILITY Var"
+ "DEFAULT_VISIBILITY-const" : {
+ "title" : "DEFAULT_VISIBILITY Const"
},
"forwardRef-function" : {
@@ -68,20 +68,20 @@
"title" : "DependencyProvider Interface"
},
- "PUBLIC_AND_PRIVATE-var" : {
- "title" : "PUBLIC_AND_PRIVATE Var"
+ "PUBLIC_AND_PRIVATE-const" : {
+ "title" : "PUBLIC_AND_PRIVATE Const"
},
- "PUBLIC-var" : {
- "title" : "PUBLIC Var"
+ "PUBLIC-const" : {
+ "title" : "PUBLIC Const"
},
- "PRIVATE-var" : {
- "title" : "PRIVATE Var"
+ "PRIVATE-const" : {
+ "title" : "PRIVATE Const"
},
- "undefinedValue-var" : {
- "title" : "undefinedValue Var"
+ "undefinedValue-const" : {
+ "title" : "undefinedValue Const"
},
"Binding-class" : {
diff --git a/public/docs/js/latest/api/di/undefinedValue-var.jade b/public/docs/js/latest/api/di/undefinedValue-const.jade
similarity index 100%
rename from public/docs/js/latest/api/di/undefinedValue-var.jade
rename to public/docs/js/latest/api/di/undefinedValue-const.jade
diff --git a/public/docs/js/latest/api/directives/CSSClass-class.jade b/public/docs/js/latest/api/directives/CSSClass-class.jade
index 784623ad66..e7565fb188 100644
--- a/public/docs/js/latest/api/directives/CSSClass-class.jade
+++ b/public/docs/js/latest/api/directives/CSSClass-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/class.ts (line 9)
+ defined in angular2/src/directives/class.ts (line 9)
:markdown
Adds and removes CSS classes based on an {expression} value.
@@ -24,6 +24,20 @@ p.location-badge.
```
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: '[class]',
+ lifecycle: [LifecycleEvent.onCheck, LifecycleEvent.onDestroy],
+ properties: ['rawClass: class']
+ })
+
+
.l-main-section
h2 Members
.l-sub-section
@@ -46,7 +60,6 @@ p.location-badge.
:markdown
-
@@ -63,7 +76,22 @@ p.location-badge.
onCheck()
: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
index 5f1e1da104..0c7b760ebd 100644
--- a/public/docs/js/latest/api/directives/NgFor-class.jade
+++ b/public/docs/js/latest/api/directives/NgFor-class.jade
@@ -34,6 +34,16 @@ p.location-badge.
- `