- ```
-
- In this case, the two pipes compose as if they were inlined: `someExpression | somePipe |
- keyValDiff`.
-
-
-
-
-
-
-
- .l-sub-section
- h3 events
-
-
- :markdown
-
- Enumerates the set of emitted events.
-
- ## Syntax
-
- ```
- @Component({
- events: ['statusChange']
- })
- class TaskComponent {
- statusChange: EventEmitter;
-
- constructor() {
- this.statusChange = new EventEmitter();
- }
-
- onComplete() {
- this.statusChange.next('completed');
- }
- }
- ```
-
- Use `propertyName: eventName` when the event emitter property name is different from the name
- of the emitted event:
-
- ```
- @Component({
- events: ['status: statusChange']
- })
- class TaskComponent {
- status: EventEmitter;
-
- constructor() {
- this.status = new EventEmitter();
- }
-
- onComplete() {
- this.status.next('completed');
- }
- }
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 host
-
-
- :markdown
-
- Specifiy the events, actions, properties and attributes related to the host element.
-
- ## Events
-
- Specifies which DOM hostListeners a directive listens to via a set of `(event)` to `method`
- key-value pairs:
-
- - `event1`: the DOM event that the directive listens to.
- - `statement`: the statement to execute when the event occurs.
- If the evalutation of the statement returns `false`, then `preventDefault`is applied on the DOM
- event.
-
- To listen to global events, a target must be added to the event name.
- The target can be `window`, `document` or `body`.
-
- When writing a directive event binding, you can also refer to the following local variables:
- - `$event`: Current event object which triggered the event.
- - `$target`: The source of the event. This will be either a DOM element or an Angular
- directive. (will be implemented in later release)
-
- ## Syntax
-
- ```
- @Directive({
- host: {
- '(event1)': 'onMethod1(arguments)',
- '(target:event2)': 'onMethod2(arguments)',
- ...
- }
- }
- ```
-
- ## Basic Event Binding:
-
- Suppose you want to write a directive that reacts to `change` events in the DOM and on
- `resize` events in window.
- You would define the event binding as follows:
-
- ```
- @Directive({
- selector: 'input',
- host: {
- '(change)': 'onChange($event)',
- '(window:resize)': 'onResize($event)'
- }
- })
- class InputDirective {
- onChange(event:Event) {
- // invoked when the input element fires the 'change' event
- }
- onResize(event:Event) {
- // invoked when the window fires the 'resize' event
- }
- }
- ```
-
- ## Properties
-
- Specifies which DOM properties a directives updates.
-
- ## Syntax
-
- ```
- @Directive({
- selector: 'input',
- host: {
- '[prop]': 'expression'
- }
- })
- class InputDirective {
- value:string;
- }
- ```
-
- In this example the prop property of the host element is updated with the expression value
- every time it changes.
-
- ## Attributes
-
- Specifies static attributes that should be propagated to a host element. Attributes specified
- in `hostAttributes` are propagated only if a given attribute is not present on a host element.
-
- ## Syntax
-
- ```
- @Directive({
- selector: '[my-button]',
- host: {
- 'role': 'button'
- }
- })
- class MyButton {
- }
- ```
-
- In this example using `my-button` directive (ex.: `
` ) will ensure that this element will get the "button" role.
-
- ## Actions
-
- Specifies which DOM methods a directive can invoke.
-
- ## Syntax
-
- ```
- @Directive({
- selector: 'input',
- host: {
- '@emitFocus': 'focus()'
- }
- })
- class InputDirective {
- constructor() {
- this.emitFocus = new EventEmitter();
- }
-
- focus() {
- this.emitFocus.next();
- }
- }
- ```
-
- In this example calling focus on InputDirective will result in calling focus on the input.
-
-
-
-
-
-
-
- .l-sub-section
- h3 lifecycle
-
-
- :markdown
-
- Specifies which lifecycle should be notified to the directive.
-
- See
onChange
,
onDestroy
,
onCheck
,
-
onInit
,
onAllChangesDone
for details.
-
-
-
-
-
-
-
- .l-sub-section
- h3 compileChildren
-
-
- :markdown
-
- If set to false the compiler does not compile the children of this directive.
-
-
-
-
-
-
-
- .l-sub-section
- h3 hostInjector
-
-
- :markdown
-
- Defines the set of injectable objects that are visible to a Directive and its light dom
- children.
-
- ## Simple Example
-
- Here is an example of a class that can be injected:
-
- ```
- class Greeter {
- greet(name:string) {
- return 'Hello ' + name + '!';
- }
- }
-
- @Directive({
- selector: 'greet',
- hostInjector: [
- Greeter
- ]
- })
- class HelloWorld {
- greeter:Greeter;
-
- constructor(greeter:Greeter) {
- this.greeter = greeter;
- }
- }
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 exportAs
-
-
- :markdown
-
- Defines the name that can be used in the template to assign this directive to a variable.
-
- ## Simple Example
-
- ```
- @Directive({
- selector: 'child-dir',
- exportAs: 'child'
- })
- class ChildDir {
- }
-
- @Component({
- selector: 'main',
- })
- @View({
- template: `
`,
- directives: [ChildDir]
- })
- class MainComponent {
- }
-
- ```
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/annotations/DirectiveArgs-interface.jade b/public/docs/js/latest/api/annotations/DirectiveArgs-interface.jade
deleted file mode 100644
index 3b684605b5..0000000000
--- a/public/docs/js/latest/api/annotations/DirectiveArgs-interface.jade
+++ /dev/null
@@ -1,113 +0,0 @@
-
-p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations_impl/annotations.ts (line 801)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 selector
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 properties
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 events
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 host
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 lifecycle
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 hostInjector
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 exportAs
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 compileChildren
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/annotations/DirectiveTypeDecorator-interface.jade b/public/docs/js/latest/api/annotations/DirectiveTypeDecorator-interface.jade
deleted file mode 100644
index fe0c95ad25..0000000000
--- a/public/docs/js/latest/api/annotations/DirectiveTypeDecorator-interface.jade
+++ /dev/null
@@ -1,8 +0,0 @@
-
-p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations/decorators.ts (line 16)
-
-:markdown
-
-
diff --git a/public/docs/js/latest/api/annotations/Parent-var.jade b/public/docs/js/latest/api/annotations/Parent-var.jade
deleted file mode 100644
index 40a199c905..0000000000
--- a/public/docs/js/latest/api/annotations/Parent-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 Parent
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations/decorators.ts (line 51)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/annotations/Query-var.jade b/public/docs/js/latest/api/annotations/Query-var.jade
deleted file mode 100644
index 7e0f42a48f..0000000000
--- a/public/docs/js/latest/api/annotations/Query-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 Query
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations/decorators.ts (line 57)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/annotations/Self-var.jade b/public/docs/js/latest/api/annotations/Self-var.jade
deleted file mode 100644
index ede5fcc949..0000000000
--- a/public/docs/js/latest/api/annotations/Self-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 Self
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations/decorators.ts (line 50)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/annotations/Unbounded-var.jade b/public/docs/js/latest/api/annotations/Unbounded-var.jade
deleted file mode 100644
index d4fc1c4c5e..0000000000
--- a/public/docs/js/latest/api/annotations/Unbounded-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 Unbounded
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations/decorators.ts (line 53)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/annotations/View-var.jade b/public/docs/js/latest/api/annotations/View-var.jade
deleted file mode 100644
index 6f987c8ca9..0000000000
--- a/public/docs/js/latest/api/annotations/View-var.jade
+++ /dev/null
@@ -1,12 +0,0 @@
-
-.l-main-section
- h2 View
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations/decorators.ts (line 47)
-
- :markdown
-
-
-
-
diff --git a/public/docs/js/latest/api/annotations/ViewTypeDecorator-interface.jade b/public/docs/js/latest/api/annotations/ViewTypeDecorator-interface.jade
deleted file mode 100644
index d9351256e6..0000000000
--- a/public/docs/js/latest/api/annotations/ViewTypeDecorator-interface.jade
+++ /dev/null
@@ -1,26 +0,0 @@
-
-p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations/decorators.ts (line 22)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 View
-
-
- pre.prettyprint
- code.
- View(obj: ViewArgs)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/annotations/_data.json b/public/docs/js/latest/api/annotations/_data.json
deleted file mode 100644
index 0696678c32..0000000000
--- a/public/docs/js/latest/api/annotations/_data.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "index" : {
- "title" : "Annotations",
- "intro" : "Annotations provide the additional information that Angular requires in order to run your application. This module contains
Component
,
Directive
, and
View
annotations, as well as
Parent
and
Ancestor
annotations that are used by Angular to resolve dependencies."
- },
-
- "ComponentAnnotation-class" : {
- "title" : "ComponentAnnotation Class"
- },
-
- "DirectiveAnnotation-class" : {
- "title" : "DirectiveAnnotation Class"
- },
-
- "ComponentArgs-interface" : {
- "title" : "ComponentArgs Interface"
- },
-
- "DirectiveArgs-interface" : {
- "title" : "DirectiveArgs Interface"
- },
-
- "onDestroy-const" : {
- "title" : "onDestroy Const"
- },
-
- "onChange-const" : {
- "title" : "onChange Const"
- },
-
- "onCheck-const" : {
- "title" : "onCheck Const"
- },
-
- "onInit-const" : {
- "title" : "onInit Const"
- },
-
- "onAllChangesDone-const" : {
- "title" : "onAllChangesDone Const"
- },
-
- "DirectiveTypeDecorator-interface" : {
- "title" : "DirectiveTypeDecorator Interface"
- },
-
- "ComponentTypeDecorator-interface" : {
- "title" : "ComponentTypeDecorator Interface"
- },
-
- "ViewTypeDecorator-interface" : {
- "title" : "ViewTypeDecorator Interface"
- },
-
- "Directive-var" : {
- "title" : "Directive Var"
- },
-
- "Component-var" : {
- "title" : "Component Var"
- },
-
- "View-var" : {
- "title" : "View Var"
- },
-
- "Self-var" : {
- "title" : "Self Var"
- },
-
- "Parent-var" : {
- "title" : "Parent Var"
- },
-
- "Ancestor-var" : {
- "title" : "Ancestor Var"
- },
-
- "Unbounded-var" : {
- "title" : "Unbounded Var"
- },
-
- "Attribute-var" : {
- "title" : "Attribute Var"
- },
-
- "Query-var" : {
- "title" : "Query Var"
- }
-}
diff --git a/public/docs/js/latest/api/annotations/index.jade b/public/docs/js/latest/api/annotations/index.jade
deleted file mode 100644
index 0bd0b571bd..0000000000
--- a/public/docs/js/latest/api/annotations/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in
angular2/annotations.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/annotations/onAllChangesDone-const.jade b/public/docs/js/latest/api/annotations/onAllChangesDone-const.jade
deleted file mode 100644
index 58659163f4..0000000000
--- a/public/docs/js/latest/api/annotations/onAllChangesDone-const.jade
+++ /dev/null
@@ -1,26 +0,0 @@
-
-.l-main-section
- h2 onAllChangesDone
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations_impl/annotations.ts (line 1127)
-
- :markdown
- Notify a directive when the bindings of all its children have been checked (whether they have
- changed or not).
-
- ## Example:
-
- ```
- @Directive({
- selector: '[class-set]',
- lifecycle: [onAllChangesDone]
- })
- class ClassSet {
-
- onAllChangesDone() {
- }
-
- }
- ```
-
diff --git a/public/docs/js/latest/api/annotations/onChange-const.jade b/public/docs/js/latest/api/annotations/onChange-const.jade
deleted file mode 100644
index df5077c041..0000000000
--- a/public/docs/js/latest/api/annotations/onChange-const.jade
+++ /dev/null
@@ -1,41 +0,0 @@
-
-.l-main-section
- h2 onChange
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations_impl/annotations.ts (line 1057)
-
- :markdown
- Notify a directive when any of its bindings have changed.
-
- This method is called right after the directive's bindings have been checked,
- and before any of its children's bindings have been checked.
-
- It is invoked only if at least one of the directive's bindings has changed.
-
- ## Example:
-
- ```
- @Directive({
- selector: '[class-set]',
- properties: [
- 'propA',
- 'propB'
- ],
- lifecycle: [onChange]
- })
- class ClassSet {
- propA;
- propB;
- onChange(changes:{[idx: string, PropertyUpdate]}) {
- // This will get called after any of the properties have been updated.
- if (changes['propA']) {
- // if propA was updated
- }
- if (changes['propA']) {
- // if propB was updated
- }
- }
- }
- ```
-
diff --git a/public/docs/js/latest/api/annotations/onCheck-const.jade b/public/docs/js/latest/api/annotations/onCheck-const.jade
deleted file mode 100644
index fe5b441f53..0000000000
--- a/public/docs/js/latest/api/annotations/onCheck-const.jade
+++ /dev/null
@@ -1,28 +0,0 @@
-
-.l-main-section
- h2 onCheck
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations_impl/annotations.ts (line 1081)
-
- :markdown
- Notify a directive when it has been checked.
-
- This method is called right after the directive's bindings have been checked,
- and before any of its children's bindings have been checked.
-
- It is invoked every time even when none of the directive's bindings has changed.
-
- ## Example:
-
- ```
- @Directive({
- selector: '[class-set]',
- lifecycle: [onCheck]
- })
- class ClassSet {
- onCheck() {
- }
- }
- ```
-
diff --git a/public/docs/js/latest/api/annotations/onDestroy-const.jade b/public/docs/js/latest/api/annotations/onDestroy-const.jade
deleted file mode 100644
index ade2a274ba..0000000000
--- a/public/docs/js/latest/api/annotations/onDestroy-const.jade
+++ /dev/null
@@ -1,24 +0,0 @@
-
-.l-main-section
- h2 onDestroy
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations_impl/annotations.ts (line 1019)
-
- :markdown
- Notify a directive whenever a
View
that contains it is destroyed.
-
- ## Example
-
- ```
- @Directive({
- ...,
- lifecycle: [onDestroy]
- })
- class ClassSet {
- onDestroy() {
- // invoked to notify directive of the containing view destruction.
- }
- }
- ```
-
diff --git a/public/docs/js/latest/api/annotations/onInit-const.jade b/public/docs/js/latest/api/annotations/onInit-const.jade
deleted file mode 100644
index a8fe61c199..0000000000
--- a/public/docs/js/latest/api/annotations/onInit-const.jade
+++ /dev/null
@@ -1,28 +0,0 @@
-
-.l-main-section
- h2 onInit
variable
- p.location-badge.
- exported from
angular2/annotations
- defined in
angular2/src/core/annotations_impl/annotations.ts (line 1105)
-
- :markdown
- Notify a directive when it has been checked the first itme.
-
- This method is called right after the directive's bindings have been checked,
- and before any of its children's bindings have been checked.
-
- It is invoked only once.
-
- ## Example:
-
- ```
- @Directive({
- selector: '[class-set]',
- lifecycle: [onInit]
- })
- class ClassSet {
- onInit() {
- }
- }
- ```
-
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 bba67e5d4d..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, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isAssignable
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 assign
-
-
- pre.prettyprint
- code.
- assign(context, locals: Locals, value)
-
- :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 6b38c82a3b..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 311)
-
-: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, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isAssignable
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 assign
-
-
- pre.prettyprint
- code.
- assign(context, locals: Locals, value)
-
- :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 a31a3f61c4..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, locals: Locals)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isAssignable
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 assign
-
-
- pre.prettyprint
- code.
- assign(context, locals: Locals, value)
-
- :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 edb59ac38f..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 351)
-
-: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: Pipe)
-
- :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/BindingRecord-class.jade b/public/docs/js/latest/api/change_detection/BindingRecord-class.jade
deleted file mode 100644
index 9af04d4c3f..0000000000
--- a/public/docs/js/latest/api/change_detection/BindingRecord-class.jade
+++ /dev/null
@@ -1,230 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/binding_record.ts (line 9)
-
-: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, 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 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 isElement
-
-
- pre.prettyprint
- code.
- isElement()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isTextNode
-
-
- pre.prettyprint
- code.
- isTextNode()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/CHECKED-const.jade b/public/docs/js/latest/api/change_detection/CHECKED-const.jade
deleted file mode 100644
index 814166a194..0000000000
--- a/public/docs/js/latest/api/change_detection/CHECKED-const.jade
+++ /dev/null
@@ -1,13 +0,0 @@
-
-.l-main-section
- h2 CHECKED
variable
- p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/constants.ts (line 13)
-
- :markdown
- CHECKED means that the change detector should be skipped until its mode changes to
- CHECK_ONCE or CHECK_ALWAYS.
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade b/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade
deleted file mode 100644
index 87ef59f8cb..0000000000
--- a/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade
+++ /dev/null
@@ -1,13 +0,0 @@
-
-.l-main-section
- h2 CHECK_ALWAYS
variable
- p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/constants.ts (line 19)
-
- :markdown
- CHECK_ALWAYS means that after calling detectChanges the mode of the change detector
- will remain CHECK_ALWAYS.
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade b/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade
deleted file mode 100644
index b89f6bca7f..0000000000
--- a/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade
+++ /dev/null
@@ -1,13 +0,0 @@
-
-.l-main-section
- h2 CHECK_ONCE
variable
- p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/constants.ts (line 7)
-
- :markdown
- CHECK_ONCE means that after calling detectChanges the mode of the change detector
- will become CHECKED.
-
-
-
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 095294df33..0000000000
--- a/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade
+++ /dev/null
@@ -1,47 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/interfaces.ts (line 4)
-
-: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
deleted file mode 100644
index e922feaa47..0000000000
--- a/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade
+++ /dev/null
@@ -1,80 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/exceptions.ts (line 15)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(proto: ProtoRecord, originalException: any)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 message
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 location
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 originalException
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
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 f4766cc717..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 41)
-
-: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)
-
- :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 11cd7c040e..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 60)
-
-: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
deleted file mode 100644
index 9d5119a802..0000000000
--- a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
+++ /dev/null
@@ -1,88 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- 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.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_cd: ChangeDetector)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 requestCheck
-
-
- pre.prettyprint
- code.
- requestCheck()
-
- :markdown
-
- Request to check all ON_PUSH ancestors.
-
-
-
-
-
-
-
- .l-sub-section
- h3 detach
-
-
- pre.prettyprint
- code.
- detach()
-
- :markdown
-
- Detaches the change detector from the change detector tree.
-
- The detached change detector will not be checked until it is reattached.
-
-
-
-
-
-
-
- .l-sub-section
- h3 reattach
-
-
- pre.prettyprint
- code.
- reattach()
-
- :markdown
-
- Reattach the change detector to the change detector tree.
-
- This also requests a check of this change detector. This reattached change detector will be
- checked during the
- next change detection run.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/ChangeDispatcher-interface.jade b/public/docs/js/latest/api/change_detection/ChangeDispatcher-interface.jade
deleted file mode 100644
index 02a60cc29b..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 36)
-
-: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-const.jade b/public/docs/js/latest/api/change_detection/DEFAULT-const.jade
deleted file mode 100644
index c401ff49c6..0000000000
--- a/public/docs/js/latest/api/change_detection/DEFAULT-const.jade
+++ /dev/null
@@ -1,12 +0,0 @@
-
-.l-main-section
- h2 DEFAULT
variable
- p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/constants.ts (line 35)
-
- :markdown
- DEFAULT means that the change detector's mode will be set to CHECK_ALWAYS during hydration.
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/DETACHED-const.jade b/public/docs/js/latest/api/change_detection/DETACHED-const.jade
deleted file mode 100644
index 42367e7aa6..0000000000
--- a/public/docs/js/latest/api/change_detection/DETACHED-const.jade
+++ /dev/null
@@ -1,13 +0,0 @@
-
-.l-main-section
- h2 DETACHED
variable
- p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/constants.ts (line 25)
-
- :markdown
- DETACHED means that the change detector sub tree is not a part of the main tree and
- should be skipped.
-
-
-
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 73dbacf83c..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 28)
-
-: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 04af860677..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 b300f206c8..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 9363a6c9b4..0000000000
--- a/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade
+++ /dev/null
@@ -1,56 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/change_detection.ts (line 112)
-
-:markdown
- Implements change detection that does not require `eval()`.
-
- This is slower than
JitChangeDetection
.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(registry: PipeRegistry)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 registry
-
-
- :markdown
-
-
-
-
-
-
-
-
- .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 54663913ad..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 13)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(id: string, changeControlStrategy: string, dispatcher: any, pipeRegistry: PipeRegistry, 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 pipes
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 prevContexts
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directives
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 alreadyChecked
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 changeControlStrategy
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dispatcher
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 pipeRegistry
-
-
- :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)
-
- :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 f51c92a84f..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 37)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_pipeRegistry: PipeRegistry, 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 191047314f..0000000000
--- a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenChecked-class.jade
+++ /dev/null
@@ -1,54 +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
-
-
-
-
-
-
- .l-sub-section
- h3 message
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :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 bc811e618c..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, 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 a0e49b72d1..0000000000
--- a/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade
+++ /dev/null
@@ -1,57 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/change_detection.ts (line 129)
-
-: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 constructor
-
-
- pre.prettyprint
- code.
- constructor(registry: PipeRegistry)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 registry
-
-
- :markdown
-
-
-
-
-
-
-
-
- .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 eb89138c94..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 98bf0337fe..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 159)
-
-: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, 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 8af13c4ad6..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)
-
- :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
deleted file mode 100644
index a8d26f2110..0000000000
--- a/public/docs/js/latest/api/change_detection/NullPipe-class.jade
+++ /dev/null
@@ -1,55 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/pipes/null_pipe.ts (line 14)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 called
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obj)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(value)
-
- :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
deleted file mode 100644
index 429bc437ca..0000000000
--- a/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade
+++ /dev/null
@@ -1,57 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/pipes/null_pipe.ts (line 2)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obj)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 create
-
-
- pre.prettyprint
- code.
- create(cdRef)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade b/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade
deleted file mode 100644
index b74c6cebf9..0000000000
--- a/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade
+++ /dev/null
@@ -1,12 +0,0 @@
-
-.l-main-section
- h2 ON_PUSH
variable
- p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/constants.ts (line 30)
-
- :markdown
- ON_PUSH means that the change detector's mode will be set to CHECK_ONCE during hydration.
-
-
-
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 f51a5699ff..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 54)
-
-: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 addPipes
-
-
- pre.prettyprint
- code.
- addPipes(bindingAst: ASTWithSource, pipes: List<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-class.jade b/public/docs/js/latest/api/change_detection/Pipe-class.jade
deleted file mode 100644
index c87c2b4f99..0000000000
--- a/public/docs/js/latest/api/change_detection/Pipe-class.jade
+++ /dev/null
@@ -1,76 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/pipes/pipe.ts (line 29)
-
-:markdown
- An interface for extending the list of pipes known to Angular.
-
- If you are writing a custom
Pipe
, you must extend this interface.
-
- #Example
-
- ```
- class DoublePipe extends Pipe {
- supports(obj) {
- return true;
- }
-
- transform(value) {
- return `${value}${value}`;
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obj)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(value: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/PipeFactory-class.jade b/public/docs/js/latest/api/change_detection/PipeFactory-class.jade
deleted file mode 100644
index ff74fb9771..0000000000
--- a/public/docs/js/latest/api/change_detection/PipeFactory-class.jade
+++ /dev/null
@@ -1,43 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/pipes/pipe.ts (line 56)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obs)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 create
-
-
- pre.prettyprint
- code.
- create(cdRef)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/PipeRegistry-class.jade b/public/docs/js/latest/api/change_detection/PipeRegistry-class.jade
deleted file mode 100644
index c5becca991..0000000000
--- a/public/docs/js/latest/api/change_detection/PipeRegistry-class.jade
+++ /dev/null
@@ -1,54 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/pipes/pipe_registry.ts (line 5)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(config)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 config
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(type: string, obj, cdRef: ChangeDetectorRef)
-
- :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 d05749eca3..0000000000
--- a/public/docs/js/latest/api/change_detection/PreGeneratedChangeDetection-class.jade
+++ /dev/null
@@ -1,54 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/change_detection.ts (line 80)
-
-: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(registry: PipeRegistry, protoChangeDetectorsForTest?: StringMap<string, Function>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 registry
-
-
- :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 d48a4b5520..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 58)
-
-: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
deleted file mode 100644
index 2458e8c776..0000000000
--- a/public/docs/js/latest/api/change_detection/WrappedValue-class.jade
+++ /dev/null
@@ -1,40 +0,0 @@
-
-p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/pipes/pipe.ts (line 1)
-
-:markdown
- Indicates that the result of a
Pipe
transformation has changed even though the reference
- has not changed.
-
- The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(wrapped: any)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 wrapped
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/_data.json b/public/docs/js/latest/api/change_detection/_data.json
deleted file mode 100644
index 80f9431efb..0000000000
--- a/public/docs/js/latest/api/change_detection/_data.json
+++ /dev/null
@@ -1,174 +0,0 @@
-{
- "index" : {
- "title" : "Change Detection",
- "intro" : "Change detection enables data binding in Angular."
- },
-
- "ASTWithSource-class" : {
- "title" : "ASTWithSource Class"
- },
-
- "AST-class" : {
- "title" : "AST Class"
- },
-
- "AstTransformer-class" : {
- "title" : "AstTransformer Class"
- },
-
- "AccessMember-class" : {
- "title" : "AccessMember Class"
- },
-
- "LiteralArray-class" : {
- "title" : "LiteralArray Class"
- },
-
- "ImplicitReceiver-class" : {
- "title" : "ImplicitReceiver Class"
- },
-
- "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"
- },
-
- "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-const" : {
- "title" : "CHECK_ONCE Const"
- },
-
- "CHECK_ALWAYS-const" : {
- "title" : "CHECK_ALWAYS Const"
- },
-
- "DETACHED-const" : {
- "title" : "DETACHED Const"
- },
-
- "CHECKED-const" : {
- "title" : "CHECKED Const"
- },
-
- "ON_PUSH-const" : {
- "title" : "ON_PUSH Const"
- },
-
- "DEFAULT-const" : {
- "title" : "DEFAULT Const"
- },
-
- "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"
- },
-
- "PipeRegistry-class" : {
- "title" : "PipeRegistry Class"
- },
-
- "uninitialized-var" : {
- "title" : "uninitialized Var"
- },
-
- "WrappedValue-class" : {
- "title" : "WrappedValue Class"
- },
-
- "Pipe-class" : {
- "title" : "Pipe Class"
- },
-
- "PipeFactory-class" : {
- "title" : "PipeFactory Class"
- },
-
- "NullPipe-class" : {
- "title" : "NullPipe Class"
- },
-
- "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"
- },
-
- "defaultPipeRegistry-var" : {
- "title" : "defaultPipeRegistry Var"
- }
-}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/change_detection/defaultPipeRegistry-var.jade b/public/docs/js/latest/api/change_detection/defaultPipeRegistry-var.jade
deleted file mode 100644
index e01ec93e77..0000000000
--- a/public/docs/js/latest/api/change_detection/defaultPipeRegistry-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 defaultPipeRegistry
variable
- p.location-badge.
- exported from
angular2/change_detection
- defined in
angular2/src/change_detection/change_detection.ts (line 150)
-
- :markdown
-
-
-
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 654b149e92..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 62)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/change_detection/index.jade b/public/docs/js/latest/api/change_detection/index.jade
deleted file mode 100644
index 53679d53e4..0000000000
--- a/public/docs/js/latest/api/change_detection/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in
angular2/change_detection.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/change_detection/preGeneratedProtoDetectors-var.jade b/public/docs/js/latest/api/change_detection/preGeneratedProtoDetectors-var.jade
deleted file mode 100644
index 4923fd03c4..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 78)
-
- :markdown
- Map from
ChangeDetectorDefinition
to a factory method which takes a
-
PipeRegistry
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 b7e945ab73..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/AncestorAnnotation-class.jade b/public/docs/js/latest/api/core/AncestorAnnotation-class.jade
deleted file mode 100644
index 3a6c2e53b6..0000000000
--- a/public/docs/js/latest/api/core/AncestorAnnotation-class.jade
+++ /dev/null
@@ -1,93 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/annotations_impl/visibility.ts (line 110)
-
-:markdown
- Specifies that an injector should retrieve a dependency from any ancestor element within the same
- shadow boundary.
-
- An ancestor is any element between the parent element and the shadow root.
-
- Use
Unbounded
if you need to cross upper shadow boundaries.
-
- ## Example
-
- Here is a simple directive that retrieves a dependency from an ancestor element.
-
- ```
- @Directive({
- selector: '[dependency]',
- properties: [
- 'id: dependency'
- ]
- })
- class Dependency {
- id:string;
- }
-
-
- @Directive({
- selector: '[my-directive]'
- })
- class Dependency {
- constructor(@Ancestor() dependency:Dependency) {
- expect(dependency.id).toEqual(2);
- };
- }
- ```
-
- We use this with the following HTML template:
-
- ```
-
- ```
-
- The `@Ancestor()` annotation in our constructor forces the injector to retrieve the dependency
- from the
- nearest ancestor element:
- - The current element `dependency="3"` is skipped because it is not an ancestor.
- - Next parent has no directives `
`
- - Next parent has the `Dependency` directive and so the dependency is satisfied.
-
- Angular injects `dependency=2`.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({self}?: {self?: boolean})
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ApplicationRef-class.jade b/public/docs/js/latest/api/core/ApplicationRef-class.jade
deleted file mode 100644
index fd75559c4d..0000000000
--- a/public/docs/js/latest/api/core/ApplicationRef-class.jade
+++ /dev/null
@@ -1,80 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/application.ts (line 317)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(hostComponent: ComponentRef, hostComponentType: Type, injector: Injector)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 hostComponentType
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 hostComponent
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dispose
-
-
- pre.prettyprint
- code.
- dispose()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 injector
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/AttributeAnnotation-class.jade b/public/docs/js/latest/api/core/AttributeAnnotation-class.jade
deleted file mode 100644
index cbc6e845d6..0000000000
--- a/public/docs/js/latest/api/core/AttributeAnnotation-class.jade
+++ /dev/null
@@ -1,90 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/annotations_impl/di.ts (line 3)
-
-:markdown
- Specifies that a constant attribute value should be injected.
-
- The directive can inject constant string literals of host element attributes.
-
- ## Example
-
- Suppose we have an `
` element and want to know its `type`.
-
- ```html
-
- ```
-
- A decorator can inject string literal `text` like so:
-
- ```javascript
- @Directive({
- selector: `input'
- })
- class InputDirective {
- constructor(@Attribute('type') type) {
- // type would be `text` in this example
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(attributeName: string)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 attributeName
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 token
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/Compiler-class.jade b/public/docs/js/latest/api/core/Compiler-class.jade
deleted file mode 100644
index 5ce7ad4c35..0000000000
--- a/public/docs/js/latest/api/core/Compiler-class.jade
+++ /dev/null
@@ -1,40 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/compiler.ts (line 58)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(reader: DirectiveResolver, cache: CompilerCache, templateResolver: TemplateResolver, componentUrlMapper: ComponentUrlMapper, urlResolver: UrlResolver, render:RenderCompiler, protoViewFactory: ProtoViewFactory)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 compileInHost
-
-
- pre.prettyprint
- code.
- compileInHost(componentTypeOrBinding: Type | Binding)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/CompilerCache-class.jade b/public/docs/js/latest/api/core/CompilerCache-class.jade
deleted file mode 100644
index 28e900876b..0000000000
--- a/public/docs/js/latest/api/core/CompilerCache-class.jade
+++ /dev/null
@@ -1,96 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/compiler.ts (line 27)
-
-:markdown
- Cache that stores the AppProtoView of the template of a component.
- Used to prevent duplicate work and resolve cyclic dependencies.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 set
-
-
- pre.prettyprint
- code.
- set(component: Type, protoView: AppProtoView)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(component: Type)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 setHost
-
-
- pre.prettyprint
- code.
- setHost(component: Type, protoView: AppProtoView)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 getHost
-
-
- pre.prettyprint
- code.
- getHost(component: Type)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 clear
-
-
- pre.prettyprint
- code.
- clear()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ComponentRef-class.jade b/public/docs/js/latest/api/core/ComponentRef-class.jade
deleted file mode 100644
index ab03e6d0ff..0000000000
--- a/public/docs/js/latest/api/core/ComponentRef-class.jade
+++ /dev/null
@@ -1,75 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/dynamic_component_loader.ts (line 7)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(location: ElementRef, instance: any, dispose: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 location
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 instance
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dispose
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 hostView
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/DirectiveResolver-class.jade b/public/docs/js/latest/api/core/DirectiveResolver-class.jade
deleted file mode 100644
index bbc9d92ace..0000000000
--- a/public/docs/js/latest/api/core/DirectiveResolver-class.jade
+++ /dev/null
@@ -1,26 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/directive_resolver.ts (line 4)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 resolve
-
-
- pre.prettyprint
- code.
- resolve(type: Type)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade b/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
deleted file mode 100644
index ef53186b40..0000000000
--- a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
+++ /dev/null
@@ -1,85 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/dynamic_component_loader.ts (line 16)
-
-:markdown
- Service for dynamically loading a Component into an arbitrary position in the internal Angular
- application tree.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_compiler: Compiler, _viewManager: AppViewManager)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 loadAsRoot
-
-
- pre.prettyprint
- code.
- loadAsRoot(typeOrBinding: Type | Binding, overrideSelector?: string, injector?: Injector)
-
- :markdown
-
- Loads a root component that is placed at the first element that matches the
- component's selector.
- The loaded component receives injection normally as a hosted view.
-
-
-
-
-
-
-
- .l-sub-section
- h3 loadIntoLocation
-
-
- pre.prettyprint
- code.
- loadIntoLocation(typeOrBinding: Type | Binding, hostLocation: ElementRef, anchorName: string, injector?: Injector)
-
- :markdown
-
- Loads a component into the component view of the provided ElementRef
- next to the element with the given name
- The loaded component receives
- injection normally as a hosted view.
-
-
-
-
-
-
-
- .l-sub-section
- h3 loadNextToLocation
-
-
- pre.prettyprint
- code.
- loadNextToLocation(typeOrBinding: Type | Binding, location: ElementRef, injector?: Injector)
-
- :markdown
-
- Loads a component next to the provided ElementRef. The loaded component receives
- injection normally as a hosted view.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ElementRef-class.jade b/public/docs/js/latest/api/core/ElementRef-class.jade
deleted file mode 100644
index 947e90cbda..0000000000
--- a/public/docs/js/latest/api/core/ElementRef-class.jade
+++ /dev/null
@@ -1,83 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/element_ref.ts (line 4)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(parentView: ViewRef, boundElementIndex: number)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 parentView
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 boundElementIndex
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 domElement
-
-
- :markdown
-
- Exposes the underlying DOM element.
- (DEPRECATED way of accessing the DOM, replacement coming)
-
-
-
-
-
-
-
- .l-sub-section
- h3 getAttribute
-
-
- pre.prettyprint
- code.
- getAttribute(name: string)
-
- :markdown
-
- Gets an attribute from the underlying DOM element.
- (DEPRECATED way of accessing the DOM, replacement coming)
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/NgZone-class.jade b/public/docs/js/latest/api/core/NgZone-class.jade
deleted file mode 100644
index 31d49b21cf..0000000000
--- a/public/docs/js/latest/api/core/NgZone-class.jade
+++ /dev/null
@@ -1,115 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- 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.
-
- The wrapper maintains an "inner" and an "mount" `Zone`. The application code will executes
- in the "inner" zone unless `runOutsideAngular` is explicitely called.
-
- A typical application will create a singleton `NgZone`. The outer `Zone` is a fork of the root
- `Zone`. The default `onTurnDone` runs the Angular change detection.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({enableLongStackTrace})
-
- :markdown
- Associates with this
-
- - a "root" zone, which the one that instantiated this.
- - an "inner" zone, which is a child of the root zone.
-
-
-
-
-
- .l-sub-section
- h3 initCallbacks
-
-
- pre.prettyprint
- code.
- initCallbacks({onTurnStart, onTurnDone, onErrorHandler}?: {
- onTurnStart?: /*() => void*/ Function,
- onTurnDone?: /*() => void*/ Function,
- onErrorHandler?: /*(error, stack) => void*/ Function
- })
-
- :markdown
-
- Initializes the zone hooks.
-
-
-
-
-
-
- .l-sub-section
- h3 run
-
-
- pre.prettyprint
- code.
- run(fn)
-
- :markdown
-
- Runs `fn` in the inner zone and returns whatever it returns.
-
- In a typical app where the inner zone is the Angular zone, this allows one to make use of the
- Angular's auto digest mechanism.
-
- ```
- var zone: NgZone = [ref to the application zone];
-
- zone.run(() => {
- // the change detection will run after this function and the microtasks it enqueues have
- executed.
- });
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 runOutsideAngular
-
-
- pre.prettyprint
- code.
- runOutsideAngular(fn)
-
- :markdown
-
- Runs `fn` in the outer zone and returns whatever it returns.
-
- In a typical app where the inner zone is the Angular zone, this allows one to escape Angular's
- auto-digest mechanism.
-
- ```
- var zone: NgZone = [ref to the application zone];
-
- zone.runOusideAngular(() => {
- element.onClick(() => {
- // Clicking on the element would not trigger the change detection
- });
- });
- ```
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/OnAllChangesDone-interface.jade b/public/docs/js/latest/api/core/OnAllChangesDone-interface.jade
deleted file mode 100644
index 7f75d3204d..0000000000
--- a/public/docs/js/latest/api/core/OnAllChangesDone-interface.jade
+++ /dev/null
@@ -1,28 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/interfaces.ts (line 27)
-
-:markdown
- Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have
- been changed.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 onAllChangesDone
-
-
- pre.prettyprint
- code.
- onAllChangesDone()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/OnChange-interface.jade b/public/docs/js/latest/api/core/OnChange-interface.jade
deleted file mode 100644
index 3b0059ec1a..0000000000
--- a/public/docs/js/latest/api/core/OnChange-interface.jade
+++ /dev/null
@@ -1,28 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/interfaces.ts (line 7)
-
-:markdown
- Defines lifecycle method [onChange] called after all of component's bound
- properties are updated.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 onChange
-
-
- pre.prettyprint
- code.
- onChange(changes: StringMap<string, any>)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/OnCheck-interface.jade b/public/docs/js/latest/api/core/OnCheck-interface.jade
deleted file mode 100644
index 3d9f1c856a..0000000000
--- a/public/docs/js/latest/api/core/OnCheck-interface.jade
+++ /dev/null
@@ -1,27 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/interfaces.ts (line 17)
-
-:markdown
- Defines lifecycle method [onCheck] called when a directive is being checked.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 onCheck
-
-
- pre.prettyprint
- code.
- onCheck()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/OnDestroy-interface.jade b/public/docs/js/latest/api/core/OnDestroy-interface.jade
deleted file mode 100644
index c7cf1dde27..0000000000
--- a/public/docs/js/latest/api/core/OnDestroy-interface.jade
+++ /dev/null
@@ -1,27 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/interfaces.ts (line 12)
-
-:markdown
- Defines lifecycle method [onDestroy] called when a directive is being destroyed.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/OnInit-interface.jade b/public/docs/js/latest/api/core/OnInit-interface.jade
deleted file mode 100644
index cce6ac20a3..0000000000
--- a/public/docs/js/latest/api/core/OnInit-interface.jade
+++ /dev/null
@@ -1,27 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/interfaces.ts (line 22)
-
-:markdown
- Defines lifecycle method [onInit] called when a directive is being checked the first time.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 onInit
-
-
- pre.prettyprint
- code.
- onInit()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ParentAnnotation-class.jade b/public/docs/js/latest/api/core/ParentAnnotation-class.jade
deleted file mode 100644
index 7eaffd7fdf..0000000000
--- a/public/docs/js/latest/api/core/ParentAnnotation-class.jade
+++ /dev/null
@@ -1,79 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/annotations_impl/visibility.ts (line 61)
-
-:markdown
- Specifies that an injector should retrieve a dependency from the direct parent.
-
- ## Example
-
- Here is a simple directive that retrieves a dependency from its parent element.
-
- ```
- @Directive({
- selector: '[dependency]',
- properties: [
- 'id: dependency'
- ]
- })
- class Dependency {
- id:string;
- }
-
-
- @Directive({
- selector: '[my-directive]'
- })
- class Dependency {
- constructor(@Parent() dependency:Dependency) {
- expect(dependency.id).toEqual(1);
- };
- }
- ```
-
- We use this with the following HTML template:
-
- ```
-
- ```
- The `@Parent()` annotation in our constructor forces the injector to retrieve the dependency from
- the
- parent element (even thought the current element could resolve it): Angular injects
- `dependency=1`.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({self}?: {self?: boolean})
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ProtoViewRef-class.jade b/public/docs/js/latest/api/core/ProtoViewRef-class.jade
deleted file mode 100644
index 64edb88079..0000000000
--- a/public/docs/js/latest/api/core/ProtoViewRef-class.jade
+++ /dev/null
@@ -1,23 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/view_ref.ts (line 24)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_protoView:AppProtoView)
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/QueryAnnotation-class.jade b/public/docs/js/latest/api/core/QueryAnnotation-class.jade
deleted file mode 100644
index 72d078da78..0000000000
--- a/public/docs/js/latest/api/core/QueryAnnotation-class.jade
+++ /dev/null
@@ -1,95 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/annotations_impl/di.ts (line 46)
-
-:markdown
- Specifies that a
QueryList
should be injected.
-
- See
QueryList
for usage and example.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_selector: Type | string, {descendants = false}?: {descendants?: boolean})
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 descendants
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 selector
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isVarBindingQuery
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 varBindings
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/QueryList-class.jade b/public/docs/js/latest/api/core/QueryList-class.jade
deleted file mode 100644
index 7c634c9acf..0000000000
--- a/public/docs/js/latest/api/core/QueryList-class.jade
+++ /dev/null
@@ -1,128 +0,0 @@
-
-p.location-badge.
- exported from
angular2/core
- defined in
angular2/src/core/compiler/query_list.ts (line 1)
-
-:markdown
- An iterable live list of components in the Light DOM.
-
- Injectable Objects that contains a live list of child directives in the light DOM of a directive.
- The directives are kept in depth-first pre-order traversal of the DOM.
-
- The `QueryList` is iterable, therefore it can be used in both javascript code with `for..of` loop
- as well as in
- template with `*ng-for="of"` directive.
-
- NOTE: In the future this class will implement an `Observable` interface. For now it uses a plain
- list of observable
- callbacks.
-
- # Example:
-
- Assume that `
` component would like to get a list its children which are ``
- components as shown in this
- example:
-
- ```html
-
- ...
- {{o.text}}
-
- ```
-
- In the above example the list of `` elements needs to get a list of `` elements so
- that it could render
- tabs with the correct titles and in the correct order.
-
- A possible solution would be for a `` to inject `` component and then register itself
- with ``
- component's on `hydrate` and deregister on `dehydrate` event. While a reasonable approach, this
- would only work
- partialy since `*ng-for` could rearrange the list of `` components which would not be
- reported to ``
- component and thus the list of `` components would be out of sync with respect to the list
- of `` elements.
-
- A preferred solution is to inject a `QueryList` which is a live list of directives in the
- component`s light DOM.
-
- ```javascript
- @Component({
- selector: 'tabs'
- })
- @View({
- template: `
-
-
- `
- })
- class Tabs {
- panes: QueryList
-
- constructor(@Query(Pane) panes:QueryList) {
- this.panes = panes;
- }
- }
-
- @Component({
- selector: 'pane',
- properties: ['title']
- })
- @View(...)
- class Pane {
- title:string;
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 T
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- pre.prettyprint
- code.
- onChange(callback)
-
- :markdown
-
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 removeCallback
-
-
- pre.prettyprint
- code.
- removeCallback(callback)
-
- :markdown
-
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/SelfAnnotation-class.jade b/public/docs/js/latest/api/core/SelfAnnotation-class.jade
deleted file mode 100644
index cdea704502..0000000000
--- a/public/docs/js/latest/api/core/SelfAnnotation-class.jade
+++ /dev/null
@@ -1,73 +0,0 @@
-
-p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/annotations_impl/visibility.ts (line 15)
-
-:markdown
- Specifies that an injector should retrieve a dependency from its element.
-
- ## Example
-
- Here is a simple directive that retrieves a dependency from its element.
-
- ```
- @Directive({
- selector: '[dependency]',
- properties: [
- 'id: dependency'
- ]
- })
- class Dependency {
- id:string;
- }
-
-
- @Directive({
- selector: '[my-directive]'
- })
- class Dependency {
- constructor(@Self() dependency:Dependency) {
- expect(dependency.id).toEqual(1);
- };
- }
- ```
-
- We use this with the following HTML template:
-
- ```
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/UnboundedAnnotation-class.jade b/public/docs/js/latest/api/core/UnboundedAnnotation-class.jade
deleted file mode 100644
index 5304016d41..0000000000
--- a/public/docs/js/latest/api/core/UnboundedAnnotation-class.jade
+++ /dev/null
@@ -1,70 +0,0 @@
-
-p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/annotations_impl/visibility.ts (line 173)
-
-:markdown
- Specifies that an injector should retrieve a dependency from any ancestor element, crossing
- component boundaries.
-
- Use Ancestor
to look for ancestors within the current shadow boundary only.
-
- ## Example
-
- Here is a simple directive that retrieves a dependency from an ancestor element.
-
- ```
- @Directive({
- selector: '[dependency]',
- properties: [
- 'id: dependency'
- ]
- })
- class Dependency {
- id:string;
- }
-
-
- @Directive({
- selector: '[my-directive]'
- })
- class Dependency {
- constructor(@Unbounded() dependency:Dependency) {
- expect(dependency.id).toEqual(2);
- };
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({self}?: {self?: boolean})
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ViewAnnotation-class.jade b/public/docs/js/latest/api/core/ViewAnnotation-class.jade
deleted file mode 100644
index cae02e96f9..0000000000
--- a/public/docs/js/latest/api/core/ViewAnnotation-class.jade
+++ /dev/null
@@ -1,161 +0,0 @@
-
-p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/annotations_impl/view.ts (line 1)
-
-:markdown
- Declares the available HTML templates for an application.
-
- Each angular component requires a single `@Component` and at least one `@View` annotation. The
- `@View` annotation specifies the HTML template to use, and lists the directives that are active
- within the template.
-
- When a component is instantiated, the template is loaded into the component's shadow root, and
- the expressions and statements in the template are evaluated against the component.
-
- For details on the `@Component` annotation, see Component
.
-
- ## Example
-
- ```
- @Component({
- selector: 'greet'
- })
- @View({
- template: 'Hello {{name}}!',
- directives: [GreetUser, Bold]
- })
- class Greet {
- name: string;
-
- constructor() {
- this.name = 'World';
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({templateUrl, template, directives, renderer, styles, styleUrls}?: ViewArgs)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 templateUrl
-
-
- :markdown
-
- Specifies a template URL for an angular component.
-
- NOTE: either `templateUrl` or `template` should be used, but not both.
-
-
-
-
-
-
-
- .l-sub-section
- h3 template
-
-
- :markdown
-
- Specifies an inline template for an angular component.
-
- NOTE: either `templateUrl` or `template` should be used, but not both.
-
-
-
-
-
-
-
- .l-sub-section
- h3 styleUrls
-
-
- :markdown
-
- Specifies stylesheet URLs for an angular component.
-
-
-
-
-
-
-
- .l-sub-section
- h3 styles
-
-
- :markdown
-
- Specifies an inline stylesheet for an angular component.
-
-
-
-
-
-
-
- .l-sub-section
- h3 directives
-
-
- :markdown
-
- Specifies a list of directives that can be used within a template.
-
- Directives must be listed explicitly to provide proper component encapsulation.
-
-
-
- ```javascript
- @Component({
- selector: 'my-component'
- })
- @View({
- directives: [For]
- template: '
- '
- })
- class MyComponent {
- }
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 renderer
-
-
- :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/core/ViewArgs-interface.jade b/public/docs/js/latest/api/core/ViewArgs-interface.jade
deleted file mode 100644
index de27deefbd..0000000000
--- a/public/docs/js/latest/api/core/ViewArgs-interface.jade
+++ /dev/null
@@ -1,87 +0,0 @@
-
-p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/annotations_impl/view.ts (line 104)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 templateUrl
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 template
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directives
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 renderer
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 styles
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 styleUrls
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ViewContainerRef-class.jade b/public/docs/js/latest/api/core/ViewContainerRef-class.jade
deleted file mode 100644
index 09c53488f7..0000000000
--- a/public/docs/js/latest/api/core/ViewContainerRef-class.jade
+++ /dev/null
@@ -1,183 +0,0 @@
-
-p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/compiler/view_container_ref.ts (line 9)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(viewManager:AppViewManager, element: ElementRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 viewManager
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 element
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 clear
-
-
- pre.prettyprint
- code.
- clear()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(index: number)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 length
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 create
-
-
- pre.prettyprint
- code.
- create(protoViewRef?: ProtoViewRef, atIndex?: number, context?: ElementRef, injector?: Injector)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 insert
-
-
- pre.prettyprint
- code.
- insert(viewRef: ViewRef, atIndex?: number)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 indexOf
-
-
- pre.prettyprint
- code.
- indexOf(viewRef: ViewRef)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 remove
-
-
- pre.prettyprint
- code.
- remove(atIndex?: number)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 detach
-
-
- pre.prettyprint
- code.
- detach(atIndex?: number)
-
- :markdown
-
- The method can be used together with insert to implement a view move, i.e.
- moving the dom nodes while the directives in the view stay intact.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/ViewRef-class.jade b/public/docs/js/latest/api/core/ViewRef-class.jade
deleted file mode 100644
index 8b9efd131f..0000000000
--- a/public/docs/js/latest/api/core/ViewRef-class.jade
+++ /dev/null
@@ -1,53 +0,0 @@
-
-p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/compiler/view_ref.ts (line 13)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_view:AppView)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 render
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 setLocal
-
-
- pre.prettyprint
- code.
- setLocal(contextName: string, value: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/core/_data.json b/public/docs/js/latest/api/core/_data.json
deleted file mode 100644
index de67302dec..0000000000
--- a/public/docs/js/latest/api/core/_data.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "index" : {
- "title" : "Core",
- "intro" : "Define angular core API here."
- },
-
- "ViewRef-class" : {
- "title" : "ViewRef Class"
- },
-
- "ProtoViewRef-class" : {
- "title" : "ProtoViewRef Class"
- },
-
- "ViewContainerRef-class" : {
- "title" : "ViewContainerRef Class"
- },
-
- "ElementRef-class" : {
- "title" : "ElementRef Class"
- },
-
- "NgZone-class" : {
- "title" : "NgZone Class"
- },
-
- "SelfAnnotation-class" : {
- "title" : "SelfAnnotation Class"
- },
-
- "AncestorAnnotation-class" : {
- "title" : "AncestorAnnotation Class"
- },
-
- "ParentAnnotation-class" : {
- "title" : "ParentAnnotation Class"
- },
-
- "UnboundedAnnotation-class" : {
- "title" : "UnboundedAnnotation Class"
- },
-
- "ViewAnnotation-class" : {
- "title" : "ViewAnnotation Class"
- },
-
- "ViewArgs-interface" : {
- "title" : "ViewArgs Interface"
- },
-
- "bootstrap-function" : {
- "title" : "bootstrap Function"
- },
-
- "ApplicationRef-class" : {
- "title" : "ApplicationRef Class"
- },
-
- "appComponentRefToken-var" : {
- "title" : "appComponentRefToken Var"
- },
-
- "appComponentTypeToken-var" : {
- "title" : "appComponentTypeToken Var"
- },
-
- "QueryAnnotation-class" : {
- "title" : "QueryAnnotation Class"
- },
-
- "AttributeAnnotation-class" : {
- "title" : "AttributeAnnotation Class"
- },
-
- "CompilerCache-class" : {
- "title" : "CompilerCache Class"
- },
-
- "Compiler-class" : {
- "title" : "Compiler Class"
- },
-
- "OnChange-interface" : {
- "title" : "OnChange Interface"
- },
-
- "OnDestroy-interface" : {
- "title" : "OnDestroy Interface"
- },
-
- "OnCheck-interface" : {
- "title" : "OnCheck Interface"
- },
-
- "OnInit-interface" : {
- "title" : "OnInit Interface"
- },
-
- "OnAllChangesDone-interface" : {
- "title" : "OnAllChangesDone Interface"
- },
-
- "QueryList-class" : {
- "title" : "QueryList Class"
- },
-
- "DirectiveResolver-class" : {
- "title" : "DirectiveResolver Class"
- },
-
- "ComponentRef-class" : {
- "title" : "ComponentRef Class"
- },
-
- "DynamicComponentLoader-class" : {
- "title" : "DynamicComponentLoader Class"
- }
-}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/core/appComponentRefToken-var.jade b/public/docs/js/latest/api/core/appComponentRefToken-var.jade
deleted file mode 100644
index 5e5a1f8f4c..0000000000
--- a/public/docs/js/latest/api/core/appComponentRefToken-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 appComponentRefToken variable
- p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/application_tokens.ts (line 3)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/core/appComponentTypeToken-var.jade b/public/docs/js/latest/api/core/appComponentTypeToken-var.jade
deleted file mode 100644
index adf5e2bc0e..0000000000
--- a/public/docs/js/latest/api/core/appComponentTypeToken-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 appComponentTypeToken variable
- p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/application_tokens.ts (line 4)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/core/bootstrap-function.jade b/public/docs/js/latest/api/core/bootstrap-function.jade
deleted file mode 100644
index 7bc72687b2..0000000000
--- a/public/docs/js/latest/api/core/bootstrap-function.jade
+++ /dev/null
@@ -1,144 +0,0 @@
-
-.l-main-section
- h2(class="function export") bootstrap
-
-
- pre.prettyprint
- code.
- bootstrap(appComponentType: Type, componentInjectableBindings?: List<Type | Binding | List<any>>, errorReporter?: Function) : Promise<ApplicationRef>
-
-
- p.location-badge.
- exported from angular2/core
- defined in angular2/src/core/application.ts (line 156)
-
- :markdown
- Bootstrapping for Angular applications.
-
- You instantiate an Angular application by explicitly specifying a component to use as the root
- component for your
- application via the `bootstrap()` method.
-
- ## Simple Example
-
- Assuming this `index.html`:
-
- ```html
-
-
-
- loading...
-
-
- ```
-
- An application is bootstrapped inside an existing browser DOM, typically `index.html`. Unlike
- Angular 1, Angular 2
- does not compile/process bindings in `index.html`. This is mainly for security reasons, as well
- as architectural
- changes in Angular 2. This means that `index.html` can safely be processed using server-side
- technologies such as
- bindings. Bindings can thus use double-curly `{{ syntax }}` without collision from Angular 2
- component double-curly
- `{{ syntax }}`.
-
- We can use this script code:
-
- ```
- @Component({
- selector: 'my-app'
- })
- @View({
- template: 'Hello {{ name }}!'
- })
- class MyApp {
- name:string;
-
- constructor() {
- this.name = 'World';
- }
- }
-
- main() {
- return bootstrap(MyApp);
- }
- ```
-
- When the app developer invokes `bootstrap()` with the root component `MyApp` as its argument,
- Angular performs the
- following tasks:
-
- 1. It uses the component's `selector` property to locate the DOM element which needs to be
- upgraded into
- the angular component.
- 2. It creates a new child injector (from the platform injector) and configures the injector with
- the component's
- `appInjector`. Optionally, you can also override the injector configuration for an app by
- invoking
- `bootstrap` with the `componentInjectableBindings` argument.
- 3. It creates a new `Zone` and connects it to the angular application's change detection domain
- instance.
- 4. It creates a shadow DOM on the selected component's host element and loads the template into
- it.
- 5. It instantiates the specified component.
- 6. Finally, Angular performs change detection to apply the initial data bindings for the
- application.
-
-
- ## Instantiating Multiple Applications on a Single Page
-
- There are two ways to do this.
-
-
- ### Isolated Applications
-
- Angular creates a new application each time that the `bootstrap()` method is invoked. When
- multiple applications
- are created for a page, Angular treats each application as independent within an isolated change
- detection and
- `Zone` domain. If you need to share data between applications, use the strategy described in the
- next
- section, "Applications That Share Change Detection."
-
-
- ### Applications That Share Change Detection
-
- If you need to bootstrap multiple applications that share common data, the applications must
- share a common
- change detection and zone. To do that, create a meta-component that lists the application
- components in its template.
- By only invoking the `bootstrap()` method once, with the meta-component as its argument, you
- ensure that only a
- single change detection zone is created and therefore data can be shared across the applications.
-
-
- ## Platform Injector
-
- When working within a browser window, there are many singleton resources: cookies, title,
- location, and others.
- Angular services that represent these resources must likewise be shared across all Angular
- applications that
- occupy the same browser window. For this reason, Angular creates exactly one global platform
- injector which stores
- all shared services, and each angular application injector has the platform injector as its
- parent.
-
- Each application has its own private injector as well. When there are multiple applications on a
- page, Angular treats
- each application injector's services as private to that application.
-
-
- # API
- - `appComponentType`: The root component which should act as the application. This is a reference
- to a `Type`
- which is annotated with `@Component(...)`.
- - `componentInjectableBindings`: An additional set of bindings that can be added to `appInjector`
- for the
- Component
to override default injection behavior.
- - `errorReporter`: `function(exception:any, stackTrace:string)` a default error reporter for
- unhandled exceptions.
-
- Returns a `Promise` with the application`s private Injector
.
-
-
-
diff --git a/public/docs/js/latest/api/core/index.jade b/public/docs/js/latest/api/core/index.jade
deleted file mode 100644
index 80c3d0a546..0000000000
--- a/public/docs/js/latest/api/core/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/core.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/di/AbstractBindingError-class.jade b/public/docs/js/latest/api/di/AbstractBindingError-class.jade
deleted file mode 100644
index 43836a8941..0000000000
--- a/public/docs/js/latest/api/di/AbstractBindingError-class.jade
+++ /dev/null
@@ -1,110 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 25)
-
-:markdown
- Base class for all errors arising from misconfigured bindings.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(key, constructResolvingMessage: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 name
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 message
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 keys
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 constructResolvingMessage
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 addKey
-
-
- pre.prettyprint
- code.
- addKey(key)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/AsyncBindingError-class.jade b/public/docs/js/latest/api/di/AsyncBindingError-class.jade
deleted file mode 100644
index de94fd414c..0000000000
--- a/public/docs/js/latest/api/di/AsyncBindingError-class.jade
+++ /dev/null
@@ -1,43 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 69)
-
-:markdown
- Thrown when trying to retrieve an async Binding
using the sync API.
-
- ## Example
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- bind(Number).toAsyncFactory(() => {
- return new Promise((resolve) => resolve(1 + 2));
- }),
- bind(String).toFactory((v) => { return "Value: " + v; }, [String])
- ]);
-
- injector.asyncGet(String).then((v) => expect(v).toBe('Value: 3'));
- expect(() => {
- injector.get(String);
- }).toThrowError(AsycBindingError);
- ```
-
- The above example throws because `String` depends on `Number` which is async. If any binding in
- the dependency graph is async then the graph can only be retrieved using the `asyncGet` API.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(key)
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/Binding-class.jade b/public/docs/js/latest/api/di/Binding-class.jade
deleted file mode 100644
index f4d84a0fe7..0000000000
--- a/public/docs/js/latest/api/di/Binding-class.jade
+++ /dev/null
@@ -1,278 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/binding.ts (line 34)
-
-:markdown
- Describes how the Injector
should instantiate a given token.
-
- See bind
.
-
- ## Example
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- new Binding(String, { toValue: 'Hello' })
- ]);
-
- expect(injector.get(String)).toEqual('Hello');
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(token, {toClass, toValue, toAlias, toFactory, toAsyncFactory, deps}: {
- toClass?: Type,
- toValue?: any,
- toAlias?: any,
- toFactory?: Function,
- toAsyncFactory?: Function,
- deps?: List<any>
- })
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 token
-
-
- :markdown
-
- Token used when retrieving this binding. Usually the `Type`.
-
-
-
-
-
-
-
- .l-sub-section
- h3 toClass
-
-
- :markdown
-
- Binds an interface to an implementation / subclass.
-
-
-
- Becuse `toAlias` and `toClass` are often confused, the example contains both use cases for easy
- comparison.
-
- ```javascript
-
- class Vehicle {}
-
- class Car extends Vehicle {}
-
- var injectorClass = Injector.resolveAndCreate([
- Car,
- new Binding(Vehicle, { toClass: Car })
- ]);
- var injectorAlias = Injector.resolveAndCreate([
- Car,
- new Binding(Vehicle, { toAlias: Car })
- ]);
-
- expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car));
- expect(injectorClass.get(Vehicle) instanceof Car).toBe(true);
-
- expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car));
- expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true);
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toValue
-
-
- :markdown
-
- Binds a key to a value.
-
-
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- new Binding(String, { toValue: 'Hello' })
- ]);
-
- expect(injector.get(String)).toEqual('Hello');
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toAlias
-
-
- :markdown
-
- Binds a key to the alias for an existing key.
-
- An alias means that Injector
returns the same instance as if the alias token was used.
- This is in contrast to `toClass` where a separate instance of `toClass` is returned.
-
-
-
- Becuse `toAlias` and `toClass` are often confused the example contains both use cases for easy
- comparison.
-
- ```javascript
-
- class Vehicle {}
-
- class Car extends Vehicle {}
-
- var injectorAlias = Injector.resolveAndCreate([
- Car,
- new Binding(Vehicle, { toAlias: Car })
- ]);
- var injectorClass = Injector.resolveAndCreate([
- Car,
- new Binding(Vehicle, { toClass: Car })
- ]);
-
- expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car));
- expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true);
-
- expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car));
- expect(injectorClass.get(Vehicle) instanceof Car).toBe(true);
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toFactory
-
-
- :markdown
-
- Binds a key to a function which computes the value.
-
-
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- new Binding(Number, { toFactory: () => { return 1+2; }}),
- new Binding(String, { toFactory: (value) => { return "Value: " + value; },
- dependencies: [Number] })
- ]);
-
- expect(injector.get(Number)).toEqual(3);
- expect(injector.get(String)).toEqual('Value: 3');
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toAsyncFactory
-
-
- :markdown
-
- Binds a key to a function which computes the value asynchronously.
-
-
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- new Binding(Number, { toAsyncFactory: () => {
- return new Promise((resolve) => resolve(1 + 2));
- }}),
- new Binding(String, { toFactory: (value) => { return "Value: " + value; },
- dependencies: [Number]})
- ]);
-
- injector.asyncGet(Number).then((v) => expect(v).toBe(3));
- injector.asyncGet(String).then((v) => expect(v).toBe('Value: 3'));
- ```
-
- The interesting thing to note is that event though `Number` has an async factory, the `String`
- factory function takes the resolved value. This shows that the Injector
delays
- executing the
- `String` factory
- until after the `Number` is resolved. This can only be done if the `token` is retrieved using
- the `asyncGet` API in the Injector
.
-
-
-
-
-
-
-
- .l-sub-section
- h3 dependencies
-
-
- :markdown
-
- Used in conjunction with `toFactory` or `toAsyncFactory` and specifies a set of dependencies
- (as `token`s) which should be injected into the factory function.
-
-
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- new Binding(Number, { toFactory: () => { return 1+2; }}),
- new Binding(String, { toFactory: (value) => { return "Value: " + value; },
- dependencies: [Number] })
- ]);
-
- expect(injector.get(Number)).toEqual(3);
- expect(injector.get(String)).toEqual('Value: 3');
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 resolve
-
-
- pre.prettyprint
- code.
- resolve()
-
- :markdown
-
- Converts the Binding
into ResolvedBinding
.
-
- Injector
internally only uses ResolvedBinding
, Binding
contains
- convenience binding syntax.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/BindingBuilder-class.jade b/public/docs/js/latest/api/di/BindingBuilder-class.jade
deleted file mode 100644
index b5cb40d097..0000000000
--- a/public/docs/js/latest/api/di/BindingBuilder-class.jade
+++ /dev/null
@@ -1,226 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/binding.ts (line 305)
-
-:markdown
- Helper class for the bind
function.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(token)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 token
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toClass
-
-
- pre.prettyprint
- code.
- toClass(type: Type)
-
- :markdown
-
- Binds an interface to an implementation / subclass.
-
-
-
- Because `toAlias` and `toClass` are often confused, the example contains both use cases for
- easy comparison.
-
- ```javascript
-
- class Vehicle {}
-
- class Car extends Vehicle {}
-
- var injectorClass = Injector.resolveAndCreate([
- Car,
- bind(Vehicle).toClass(Car)
- ]);
- var injectorAlias = Injector.resolveAndCreate([
- Car,
- bind(Vehicle).toAlias(Car)
- ]);
-
- expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car));
- expect(injectorClass.get(Vehicle) instanceof Car).toBe(true);
-
- expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car));
- expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true);
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toValue
-
-
- pre.prettyprint
- code.
- toValue(value)
-
- :markdown
-
- Binds a key to a value.
-
-
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- bind(String).toValue('Hello')
- ]);
-
- expect(injector.get(String)).toEqual('Hello');
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toAlias
-
-
- pre.prettyprint
- code.
- toAlias(aliasToken)
-
- :markdown
-
- Binds a key to the alias for an existing key.
-
- An alias means that we will return the same instance as if the alias token was used. (This is
- in contrast to `toClass` where a separet instance of `toClass` will be returned.)
-
-
-
- Becuse `toAlias` and `toClass` are often confused, the example contains both use cases for easy
- comparison.
-
- ```javascript
-
- class Vehicle {}
-
- class Car extends Vehicle {}
-
- var injectorAlias = Injector.resolveAndCreate([
- Car,
- bind(Vehicle).toAlias(Car)
- ]);
- var injectorClass = Injector.resolveAndCreate([
- Car,
- bind(Vehicle).toClass(Car)
- ]);
-
- expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car));
- expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true);
-
- expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car));
- expect(injectorClass.get(Vehicle) instanceof Car).toBe(true);
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toFactory
-
-
- pre.prettyprint
- code.
- toFactory(factoryFunction: Function, dependencies?: List<any>)
-
- :markdown
-
- Binds a key to a function which computes the value.
-
-
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- bind(Number).toFactory(() => { return 1+2; }),
- bind(String).toFactory((v) => { return "Value: " + v; }, [Number])
- ]);
-
- expect(injector.get(Number)).toEqual(3);
- expect(injector.get(String)).toEqual('Value: 3');
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 toAsyncFactory
-
-
- pre.prettyprint
- code.
- toAsyncFactory(factoryFunction: Function, dependencies?: List<any>)
-
- :markdown
-
- Binds a key to a function which computes the value asynchronously.
-
-
-
- ```javascript
- var injector = Injector.resolveAndCreate([
- bind(Number).toAsyncFactory(() => {
- return new Promise((resolve) => resolve(1 + 2));
- }),
- bind(String).toFactory((v) => { return "Value: " + v; }, [Number])
- ]);
-
- injector.asyncGet(Number).then((v) => expect(v).toBe(3));
- injector.asyncGet(String).then((v) => expect(v).toBe('Value: 3'));
- ```
-
- The interesting thing to note is that event though `Number` has an async factory, the `String`
- factory function takes the resolved value. This shows that the Injector
delays
- executing of the `String` factory
- until after the `Number` is resolved. This can only be done if the `token` is retrieved using
- the `asyncGet` API in the Injector
.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/CyclicDependencyError-class.jade b/public/docs/js/latest/api/di/CyclicDependencyError-class.jade
deleted file mode 100644
index 04a2c1f667..0000000000
--- a/public/docs/js/latest/api/di/CyclicDependencyError-class.jade
+++ /dev/null
@@ -1,37 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 103)
-
-:markdown
- Thrown when dependencies form a cycle.
-
- ## Example:
-
- ```javascript
- class A {
- constructor(b:B) {}
- }
- class B {
- constructor(a:A) {}
- }
- ```
-
- Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(key)
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/Dependency-class.jade b/public/docs/js/latest/api/di/Dependency-class.jade
deleted file mode 100644
index d961e52df2..0000000000
--- a/public/docs/js/latest/api/di/Dependency-class.jade
+++ /dev/null
@@ -1,88 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/binding.ts (line 22)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(key: Key, asPromise: boolean, lazy: boolean, optional: boolean, properties: List<any>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 key
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 asPromise
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 lazy
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 optional
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 properties
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/DependencyAnnotation-class.jade b/public/docs/js/latest/api/di/DependencyAnnotation-class.jade
deleted file mode 100644
index b70b0e5a8b..0000000000
--- a/public/docs/js/latest/api/di/DependencyAnnotation-class.jade
+++ /dev/null
@@ -1,45 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/annotations_impl.ts (line 76)
-
-:markdown
- `DependencyAnnotation` is used by the framework to extend DI.
-
- Only annotations implementing `DependencyAnnotation` are added to the list of dependency
- properties.
-
- For example:
-
- ```
- class Parent extends DependencyAnnotation {}
- class NotDependencyProperty {}
-
- class AComponent {
- constructor(@Parent @NotDependencyProperty aService:AService) {}
- }
- ```
-
- will create the following dependency:
-
- ```
- new Dependency(Key.get(AService), [new Parent()])
- ```
-
- The framework can use `new Parent()` to handle the `aService` dependency
- in a specific way.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 token
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/ForwardRefFn-interface.jade b/public/docs/js/latest/api/di/ForwardRefFn-interface.jade
deleted file mode 100644
index ec5ffccd87..0000000000
--- a/public/docs/js/latest/api/di/ForwardRefFn-interface.jade
+++ /dev/null
@@ -1,8 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/forward_ref.ts (line 1)
-
-:markdown
-
-
diff --git a/public/docs/js/latest/api/di/Inject-var.jade b/public/docs/js/latest/api/di/Inject-var.jade
deleted file mode 100644
index 5892040959..0000000000
--- a/public/docs/js/latest/api/di/Inject-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 Inject variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 10)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/di/InjectAnnotation-class.jade b/public/docs/js/latest/api/di/InjectAnnotation-class.jade
deleted file mode 100644
index 8fb0d0e820..0000000000
--- a/public/docs/js/latest/api/di/InjectAnnotation-class.jade
+++ /dev/null
@@ -1,60 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/annotations_impl.ts (line 1)
-
-:markdown
- A parameter annotation that specifies a dependency.
-
- ```
- class AComponent {
- constructor(@Inject(MyService) aService:MyService) {}
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(token)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 token
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/InjectLazy-var.jade b/public/docs/js/latest/api/di/InjectLazy-var.jade
deleted file mode 100644
index 104f4964b1..0000000000
--- a/public/docs/js/latest/api/di/InjectLazy-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 InjectLazy variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 12)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/di/InjectLazyAnnotation-class.jade b/public/docs/js/latest/api/di/InjectLazyAnnotation-class.jade
deleted file mode 100644
index 40a366df5d..0000000000
--- a/public/docs/js/latest/api/di/InjectLazyAnnotation-class.jade
+++ /dev/null
@@ -1,62 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/annotations_impl.ts (line 38)
-
-:markdown
- A parameter annotation that creates a synchronous lazy dependency.
-
- ```
- class AComponent {
- constructor(@InjectLazy(MyService) aServiceFn:Function) {
- var aService:MyService = aServiceFn();
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(token)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 token
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/InjectPromise-var.jade b/public/docs/js/latest/api/di/InjectPromise-var.jade
deleted file mode 100644
index 4cbd2c944f..0000000000
--- a/public/docs/js/latest/api/di/InjectPromise-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 InjectPromise variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 11)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/di/InjectPromiseAnnotation-class.jade b/public/docs/js/latest/api/di/InjectPromiseAnnotation-class.jade
deleted file mode 100644
index 181983c89a..0000000000
--- a/public/docs/js/latest/api/di/InjectPromiseAnnotation-class.jade
+++ /dev/null
@@ -1,62 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/annotations_impl.ts (line 19)
-
-:markdown
- A parameter annotation that specifies a `Promise` of a dependency.
-
- ```
- class AComponent {
- constructor(@InjectPromise(MyService) aServicePromise:Promise) {
- aServicePromise.then(aService:MyService => ...);
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(token)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 token
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/Injectable-var.jade b/public/docs/js/latest/api/di/Injectable-var.jade
deleted file mode 100644
index ca10c07ee3..0000000000
--- a/public/docs/js/latest/api/di/Injectable-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 Injectable variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 14)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/di/InjectableAnnotation-class.jade b/public/docs/js/latest/api/di/InjectableAnnotation-class.jade
deleted file mode 100644
index 7f1d58c615..0000000000
--- a/public/docs/js/latest/api/di/InjectableAnnotation-class.jade
+++ /dev/null
@@ -1,17 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/annotations_impl.ts (line 109)
-
-:markdown
- A marker annotation that marks a class as available to `Injector` for creation. Used by tooling
- for generating constructor stubs.
-
- ```
- class NeedsService {
- constructor(svc:UsefulService) {}
- }
-
- @Injectable
- class UsefulService {}
- ```
diff --git a/public/docs/js/latest/api/di/Injector-class.jade b/public/docs/js/latest/api/di/Injector-class.jade
deleted file mode 100644
index 1a85cbabfe..0000000000
--- a/public/docs/js/latest/api/di/Injector-class.jade
+++ /dev/null
@@ -1,161 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/injector.ts (line 27)
-
-:markdown
- A dependency injection container used for resolving dependencies.
-
- An `Injector` is a replacement for a `new` operator, which can automatically resolve the
- constructor dependencies.
- In typical use, application code asks for the dependencies in the constructor and they are
- resolved by the `Injector`.
-
- ## Example:
-
- Suppose that we want to inject an `Engine` into class `Car`, we would define it like this:
-
- ```javascript
- class Engine {
- }
-
- class Car {
- constructor(@Inject(Engine) engine) {
- }
- }
-
- ```
-
- Next we need to write the code that creates and instantiates the `Injector`. We then ask for the
- `root` object, `Car`, so that the `Injector` can recursively build all of that object's
- dependencies.
-
- ```javascript
- main() {
- var injector = Injector.resolveAndCreate([Car, Engine]);
-
- // Get a reference to the `root` object, which will recursively instantiate the tree.
- var car = injector.get(Car);
- }
- ```
- Notice that we don't use the `new` operator because we explicitly want to have the `Injector`
- resolve all of the object's dependencies automatically.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_bindings: List<ResolvedBinding>, _parent: Injector, _defaultBindings: boolean)
-
- :markdown
-
-
-
-
-
- .l-sub-section
- h3 parent
-
-
- :markdown
-
- Direct parent of this injector.
-
-
-
-
-
-
-
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(token)
-
- :markdown
-
- Retrieves an instance from the injector.
-
-
-
-
-
-
- .l-sub-section
- h3 getOptional
-
-
- pre.prettyprint
- code.
- getOptional(token)
-
- :markdown
-
- Retrieves an instance from the injector.
-
-
-
-
-
-
- .l-sub-section
- h3 asyncGet
-
-
- pre.prettyprint
- code.
- asyncGet(token)
-
- :markdown
-
- Retrieves an instance from the injector asynchronously. Used with asynchronous bindings.
-
-
-
-
-
-
- .l-sub-section
- h3 resolveAndCreateChild
-
-
- pre.prettyprint
- code.
- resolveAndCreateChild(bindings: List<Type | Binding | List<any>>)
-
- :markdown
-
- Creates a child injector and loads a new set of bindings into it.
-
- A resolution is a process of flattening multiple nested lists and converting individual
- bindings into a list of ResolvedBinding
s. The resolution can be cached by `resolve`
- for the Injector
for performance-sensitive code.
-
-
-
-
-
-
- .l-sub-section
- h3 createChildFromResolved
-
-
- pre.prettyprint
- code.
- createChildFromResolved(bindings: List<ResolvedBinding>)
-
- :markdown
-
- Creates a child injector and loads a new set of ResolvedBinding
s into it.
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/InstantiationError-class.jade b/public/docs/js/latest/api/di/InstantiationError-class.jade
deleted file mode 100644
index 927f502515..0000000000
--- a/public/docs/js/latest/api/di/InstantiationError-class.jade
+++ /dev/null
@@ -1,53 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 130)
-
-:markdown
- Thrown when a constructing type returns with an Error.
-
- The `InstantiationError` class contains the original error plus the dependency graph which caused
- this object to be instantiated.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(cause, key)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 cause
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 causeKey
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/InvalidBindingError-class.jade b/public/docs/js/latest/api/di/InvalidBindingError-class.jade
deleted file mode 100644
index 85cb3410ab..0000000000
--- a/public/docs/js/latest/api/di/InvalidBindingError-class.jade
+++ /dev/null
@@ -1,55 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 153)
-
-:markdown
- Thrown when an object other then Binding
(or `Type`) is passed to Injector
- creation.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(binding)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 message
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/Key-class.jade b/public/docs/js/latest/api/di/Key-class.jade
deleted file mode 100644
index 44751e8e04..0000000000
--- a/public/docs/js/latest/api/di/Key-class.jade
+++ /dev/null
@@ -1,69 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/key.ts (line 6)
-
-:markdown
- A unique object used for retrieving items from the Injector
.
-
- Keys have:
- - a system-wide unique `id`.
- - a `token`, usually the `Type` of the instance.
-
- Keys are used internally by the Injector
because their system-wide unique `id`s allow the
- injector to index in arrays rather than looking up items in maps.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(token: Object, id: number)
-
- :markdown
-
-
-
-
-
- .l-sub-section
- h3 token
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 id
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 displayName
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/KeyRegistry-class.jade b/public/docs/js/latest/api/di/KeyRegistry-class.jade
deleted file mode 100644
index fbeaec167e..0000000000
--- a/public/docs/js/latest/api/di/KeyRegistry-class.jade
+++ /dev/null
@@ -1,38 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/key.ts (line 41)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(token: Object)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 numberOfKeys
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/NoAnnotationError-class.jade b/public/docs/js/latest/api/di/NoAnnotationError-class.jade
deleted file mode 100644
index 72ab828c70..0000000000
--- a/public/docs/js/latest/api/di/NoAnnotationError-class.jade
+++ /dev/null
@@ -1,70 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 170)
-
-:markdown
- Thrown when the class has no annotation information.
-
- Lack of annotation information prevents the Injector
from determining which dependencies
- need to be injected into the constructor.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(typeOrFunc, params: List<List<any>>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 name
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 message
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/NoBindingError-class.jade b/public/docs/js/latest/api/di/NoBindingError-class.jade
deleted file mode 100644
index 250666c874..0000000000
--- a/public/docs/js/latest/api/di/NoBindingError-class.jade
+++ /dev/null
@@ -1,25 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 53)
-
-:markdown
- Thrown when trying to retrieve a dependency by `Key` from Injector
, but the
- Injector
does not have a Binding
for Key
.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(key)
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/OpaqueToken-class.jade b/public/docs/js/latest/api/di/OpaqueToken-class.jade
deleted file mode 100644
index be5d81bae2..0000000000
--- a/public/docs/js/latest/api/di/OpaqueToken-class.jade
+++ /dev/null
@@ -1,40 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/opaque_token.ts (line 1)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(desc: string)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/Optional-var.jade b/public/docs/js/latest/api/di/Optional-var.jade
deleted file mode 100644
index 0745ccdd8a..0000000000
--- a/public/docs/js/latest/api/di/Optional-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 Optional variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 13)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/di/OptionalAnnotation-class.jade b/public/docs/js/latest/api/di/OptionalAnnotation-class.jade
deleted file mode 100644
index 3de21c42cc..0000000000
--- a/public/docs/js/latest/api/di/OptionalAnnotation-class.jade
+++ /dev/null
@@ -1,35 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/annotations_impl.ts (line 57)
-
-:markdown
- A parameter annotation that marks a dependency as optional. Injector
provides `null` if
- the dependency is not found.
-
- ```
- class AComponent {
- constructor(@Optional() aService:MyService) {
- this.aService = aService;
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/ResolvedBinding-class.jade b/public/docs/js/latest/api/di/ResolvedBinding-class.jade
deleted file mode 100644
index a5adb8f4cb..0000000000
--- a/public/docs/js/latest/api/di/ResolvedBinding-class.jade
+++ /dev/null
@@ -1,84 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/binding.ts (line 255)
-
-:markdown
- An internal resolved representation of a Binding
used by the Injector
.
-
- A Binding
is resolved when it has a factory function. Binding to a class, alias, or
- value, are just convenience methods, as Injector
only operates on calling factory
- functions.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(key: Key, factory: Function, dependencies: List<Dependency>, providedAsPromise: boolean)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 key
-
-
- :markdown
-
- A key, usually a `Type`.
-
-
-
-
-
-
-
- .l-sub-section
- h3 factory
-
-
- :markdown
-
- Factory function which can return an instance of an object represented by a key.
-
-
-
-
-
-
-
- .l-sub-section
- h3 dependencies
-
-
- :markdown
-
- Arguments (dependencies) to the `factory` function.
-
-
-
-
-
-
-
- .l-sub-section
- h3 providedAsPromise
-
-
- :markdown
-
- Specifies whether the `factory` function returns a `Promise`.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/TypeLiteral-class.jade b/public/docs/js/latest/api/di/TypeLiteral-class.jade
deleted file mode 100644
index ed60ffe4c5..0000000000
--- a/public/docs/js/latest/api/di/TypeLiteral-class.jade
+++ /dev/null
@@ -1,24 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/type_literal.ts (line 1)
-
-:markdown
- Type literals is a Dart-only feature. This is here only so we can x-compile
- to multiple languages.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 type
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/_data.json b/public/docs/js/latest/api/di/_data.json
deleted file mode 100644
index ee08e4366c..0000000000
--- a/public/docs/js/latest/api/di/_data.json
+++ /dev/null
@@ -1,134 +0,0 @@
-{
- "index" : {
- "title" : "Di",
- "intro" : "The `di` module provides dependency injection container services."
- },
-
- "resolveBindings-function" : {
- "title" : "resolveBindings Function"
- },
-
- "Injector-class" : {
- "title" : "Injector Class"
- },
-
- "Binding-class" : {
- "title" : "Binding Class"
- },
-
- "BindingBuilder-class" : {
- "title" : "BindingBuilder Class"
- },
-
- "ResolvedBinding-class" : {
- "title" : "ResolvedBinding Class"
- },
-
- "Dependency-class" : {
- "title" : "Dependency Class"
- },
-
- "bind-function" : {
- "title" : "bind Function"
- },
-
- "Key-class" : {
- "title" : "Key Class"
- },
-
- "KeyRegistry-class" : {
- "title" : "KeyRegistry Class"
- },
-
- "TypeLiteral-class" : {
- "title" : "TypeLiteral Class"
- },
-
- "NoBindingError-class" : {
- "title" : "NoBindingError Class"
- },
-
- "AbstractBindingError-class" : {
- "title" : "AbstractBindingError Class"
- },
-
- "AsyncBindingError-class" : {
- "title" : "AsyncBindingError Class"
- },
-
- "CyclicDependencyError-class" : {
- "title" : "CyclicDependencyError Class"
- },
-
- "InstantiationError-class" : {
- "title" : "InstantiationError Class"
- },
-
- "InvalidBindingError-class" : {
- "title" : "InvalidBindingError Class"
- },
-
- "NoAnnotationError-class" : {
- "title" : "NoAnnotationError Class"
- },
-
- "OpaqueToken-class" : {
- "title" : "OpaqueToken Class"
- },
-
- "InjectAnnotation-class" : {
- "title" : "InjectAnnotation Class"
- },
-
- "InjectPromiseAnnotation-class" : {
- "title" : "InjectPromiseAnnotation Class"
- },
-
- "InjectLazyAnnotation-class" : {
- "title" : "InjectLazyAnnotation Class"
- },
-
- "OptionalAnnotation-class" : {
- "title" : "OptionalAnnotation Class"
- },
-
- "InjectableAnnotation-class" : {
- "title" : "InjectableAnnotation Class"
- },
-
- "DependencyAnnotation-class" : {
- "title" : "DependencyAnnotation Class"
- },
-
- "Inject-var" : {
- "title" : "Inject Var"
- },
-
- "InjectPromise-var" : {
- "title" : "InjectPromise Var"
- },
-
- "InjectLazy-var" : {
- "title" : "InjectLazy Var"
- },
-
- "Optional-var" : {
- "title" : "Optional Var"
- },
-
- "Injectable-var" : {
- "title" : "Injectable Var"
- },
-
- "ForwardRefFn-interface" : {
- "title" : "ForwardRefFn Interface"
- },
-
- "forwardRef-function" : {
- "title" : "forwardRef Function"
- },
-
- "resolveForwardRef-function" : {
- "title" : "resolveForwardRef Function"
- }
-}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/di/bind-function.jade b/public/docs/js/latest/api/di/bind-function.jade
deleted file mode 100644
index e4b2e43ee9..0000000000
--- a/public/docs/js/latest/api/di/bind-function.jade
+++ /dev/null
@@ -1,28 +0,0 @@
-
-.l-main-section
- h2(class="function export") bind
-
-
- pre.prettyprint
- code.
- bind(token) : BindingBuilder
-
-
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/binding.ts (line 287)
-
- :markdown
- Provides an API for imperatively constructing Binding
s.
-
- This is only relevant for JavaScript. See BindingBuilder
.
-
- ## Example
-
- ```javascript
- bind(MyInterface).toClass(MyClass)
-
- ```
-
-
-
diff --git a/public/docs/js/latest/api/di/forwardRef-function.jade b/public/docs/js/latest/api/di/forwardRef-function.jade
deleted file mode 100644
index 03e67043fa..0000000000
--- a/public/docs/js/latest/api/di/forwardRef-function.jade
+++ /dev/null
@@ -1,40 +0,0 @@
-
-.l-main-section
- h2(class="function export") forwardRef
-
-
- pre.prettyprint
- code.
- forwardRef(forwardRefFn: ForwardRefFn) : Type
-
-
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/forward_ref.ts (line 3)
-
- :markdown
- Allows to refer to references which are not yet defined.
-
- This situation arises when the key which we need te refer to for the purposes of DI is declared,
- but not yet defined.
-
- ## Example:
-
- ```
- class Door {
- // Incorrect way to refer to a reference which is defined later.
- // This fails because `Lock` is undefined at this point.
- constructor(lock:Lock) { }
-
- // Correct way to refer to a reference which is defined later.
- // The reference needs to be captured in a closure.
- constructor(@Inject(forwardRef(() => Lock)) lock:Lock) { }
- }
-
- // Only at this point the lock is defined.
- class Lock {
- }
- ```
-
-
-
diff --git a/public/docs/js/latest/api/di/index.jade b/public/docs/js/latest/api/di/index.jade
deleted file mode 100644
index 870633c745..0000000000
--- a/public/docs/js/latest/api/di/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/di.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/di/resolveBindings-function.jade b/public/docs/js/latest/api/di/resolveBindings-function.jade
deleted file mode 100644
index ef4f662136..0000000000
--- a/public/docs/js/latest/api/di/resolveBindings-function.jade
+++ /dev/null
@@ -1,19 +0,0 @@
-
-.l-main-section
- h2(class="function export") resolveBindings
-
-
- pre.prettyprint
- code.
- resolveBindings(bindings: List<Type | Binding | List<any>>) : List<ResolvedBinding>
-
-
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/injector.ts (line 366)
-
- :markdown
-
-
-
-
diff --git a/public/docs/js/latest/api/di/resolveForwardRef-function.jade b/public/docs/js/latest/api/di/resolveForwardRef-function.jade
deleted file mode 100644
index 072094e6e4..0000000000
--- a/public/docs/js/latest/api/di/resolveForwardRef-function.jade
+++ /dev/null
@@ -1,21 +0,0 @@
-
-.l-main-section
- h2(class="function export") resolveForwardRef
-
-
- pre.prettyprint
- code.
- resolveForwardRef(type: any) : any
-
-
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/forward_ref.ts (line 35)
-
- :markdown
- Lazily retrieve the reference value.
-
- See: forwardRef
-
-
-
diff --git a/public/docs/js/latest/api/directives/CSSClass-class.jade b/public/docs/js/latest/api/directives/CSSClass-class.jade
deleted file mode 100644
index 2d8abd96a1..0000000000
--- a/public/docs/js/latest/api/directives/CSSClass-class.jade
+++ /dev/null
@@ -1,37 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/class.ts (line 5)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(ngEl: ElementRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 iterableChanges
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/directives/NgFor-class.jade b/public/docs/js/latest/api/directives/NgFor-class.jade
deleted file mode 100644
index 81ef67d154..0000000000
--- a/public/docs/js/latest/api/directives/NgFor-class.jade
+++ /dev/null
@@ -1,107 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/ng_for.ts (line 3)
-
-:markdown
- The `NgFor` directive instantiates a template once per item from an iterable. The context for
- each instantiated template inherits from the outer context with the given loop variable set
- to the current item from the iterable.
-
- It is possible to alias the `index` to a local variable that will be set to the current loop
- iteration in the template context.
-
- When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:
-
- * When an item is added, a new instance of the template is added to the DOM.
- * When an item is removed, its template instance is removed from the DOM.
- * When items are reordered, their respective templates are reordered in the DOM.
-
- # Example
-
- ```
-
-
- Error {{i}} of {{errors.length}}: {{error.message}}
-
-
- ```
-
- # Syntax
-
- - `... `
- - `... `
- - `... `
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(viewContainer: ViewContainerRef, protoViewRef: ProtoViewRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 viewContainer
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 protoViewRef
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 iterableChanges
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 perViewChange
-
-
- pre.prettyprint
- code.
- perViewChange(view, record)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/directives/NgIf-class.jade b/public/docs/js/latest/api/directives/NgIf-class.jade
deleted file mode 100644
index 8c8b72d3c3..0000000000
--- a/public/docs/js/latest/api/directives/NgIf-class.jade
+++ /dev/null
@@ -1,95 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/ng_if.ts (line 3)
-
-:markdown
- Removes or recreates a portion of the DOM tree based on an {expression}.
-
- If the expression assigned to `ng-if` evaluates to a false value then the element
- is removed from the DOM, otherwise a clone of the element is reinserted into the DOM.
-
- # Example:
-
- ```
- 0" class="error">
-
- {{errorCount}} errors detected
-
- ```
-
- # Syntax
-
- - `...
`
- - `...
`
- - `...
`
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(viewContainer: ViewContainerRef, protoViewRef: ProtoViewRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 viewContainer
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 protoViewRef
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 prevCondition
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 ngIf
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/directives/NgNonBindable-class.jade b/public/docs/js/latest/api/directives/NgNonBindable-class.jade
deleted file mode 100644
index 477f20d166..0000000000
--- a/public/docs/js/latest/api/directives/NgNonBindable-class.jade
+++ /dev/null
@@ -1,18 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/ng_non_bindable.ts (line 1)
-
-:markdown
- The `NgNonBindable` directive tells Angular not to compile or bind the contents of the current
- DOM element. This is useful if the element contains what appears to be Angular directives and
- bindings but which should be ignored by Angular. This could be the case if you have a site that
- displays snippets of code, for instance.
-
- Example:
-
- ```
- Normal: {{1 + 2}}
// output "Normal: 3"
- Ignored: {{1 + 2}}
// output "Ignored: {{1 + 2}}"
- ```
-
diff --git a/public/docs/js/latest/api/directives/NgSwitch-class.jade b/public/docs/js/latest/api/directives/NgSwitch-class.jade
deleted file mode 100644
index acfe57319b..0000000000
--- a/public/docs/js/latest/api/directives/NgSwitch-class.jade
+++ /dev/null
@@ -1,59 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 18)
-
-:markdown
- The `NgSwitch` directive is used to conditionally swap DOM structure on your template based on a
- scope expression.
- Elements within `NgSwitch` but without `NgSwitchWhen` or `NgSwitchDefault` directives will be
- preserved at the location as specified in the template.
-
- `NgSwitch` simply chooses nested elements and makes them visible based on which element matches
- the value obtained from the evaluated expression. In other words, you define a container element
- (where you place the directive), place an expression on the **`[ng-switch]="..."` attribute**),
- define any inner elements inside of the directive and place a `[ng-switch-when]` attribute per
- element.
- The when attribute is used to inform NgSwitch which element to display when the expression is
- evaluated. If a matching expression is not found via a when attribute then an element with the
- default attribute is displayed.
-
- # Example:
-
- ```
-
- ...
- ...
- ...
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 ngSwitch
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade b/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade
deleted file mode 100644
index aa5518befb..0000000000
--- a/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade
+++ /dev/null
@@ -1,32 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 176)
-
-:markdown
- Defines a default case statement.
-
- Default case statements are displayed when no `NgSwitchWhen` match the `ng-switch` value.
-
- Example:
-
- ```
- ...
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(viewContainer: ViewContainerRef, protoViewRef: ProtoViewRef, sswitch: NgSwitch)
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade b/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade
deleted file mode 100644
index 594240240c..0000000000
--- a/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade
+++ /dev/null
@@ -1,66 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 136)
-
-:markdown
- Defines a case statement as an expression.
-
- If multiple `NgSwitchWhen` match the `NgSwitch` value, all of them are displayed.
-
- Example:
-
- ```
- // match against a context variable
- ...
-
- // match against a constant string
- ...
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(viewContainer: ViewContainerRef, protoViewRef: ProtoViewRef, sswitch: NgSwitch)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 ngSwitchWhen
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/directives/SwitchView-class.jade b/public/docs/js/latest/api/directives/SwitchView-class.jade
deleted file mode 100644
index c91690c60d..0000000000
--- a/public/docs/js/latest/api/directives/SwitchView-class.jade
+++ /dev/null
@@ -1,58 +0,0 @@
-
-p.location-badge.
- exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 4)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(viewContainerRef: ViewContainerRef, protoViewRef: ProtoViewRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 create
-
-
- pre.prettyprint
- code.
- create()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 destroy
-
-
- pre.prettyprint
- code.
- destroy()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/directives/_data.json b/public/docs/js/latest/api/directives/_data.json
deleted file mode 100644
index f0a143a485..0000000000
--- a/public/docs/js/latest/api/directives/_data.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "index" : {
- "title" : "Directives",
- "intro" : "Common directives shipped with Angular."
- },
-
- "coreDirectives-const" : {
- "title" : "coreDirectives Const"
- },
-
- "CSSClass-class" : {
- "title" : "CSSClass Class"
- },
-
- "NgFor-class" : {
- "title" : "NgFor Class"
- },
-
- "NgIf-class" : {
- "title" : "NgIf Class"
- },
-
- "NgNonBindable-class" : {
- "title" : "NgNonBindable Class"
- },
-
- "SwitchView-class" : {
- "title" : "SwitchView Class"
- },
-
- "NgSwitch-class" : {
- "title" : "NgSwitch Class"
- },
-
- "NgSwitchWhen-class" : {
- "title" : "NgSwitchWhen Class"
- },
-
- "NgSwitchDefault-class" : {
- "title" : "NgSwitchDefault Class"
- }
-}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/directives/coreDirectives-const.jade b/public/docs/js/latest/api/directives/coreDirectives-const.jade
deleted file mode 100644
index 5c623f038b..0000000000
--- a/public/docs/js/latest/api/directives/coreDirectives-const.jade
+++ /dev/null
@@ -1,50 +0,0 @@
-
-.l-main-section
- h2 coreDirectives variable
- p.location-badge.
- exported from angular2/directives
- defined in angular2/directives.ts (line 62)
-
- :markdown
- A collection of the Angular core directives that are likely to be used in each and every Angular
- application.
-
- This collection can be used to quickly enumerate all the built-in directives in the `@View`
- annotation. For example,
- instead of writing:
-
- ```
- import {If, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/angular2';
- import {OtherDirective} from 'myDirectives';
-
- @Component({
- selector: 'my-component'
- })
- @View({
- templateUrl: 'myComponent.html',
- directives: [If, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective]
- })
- export class MyComponent {
- ...
- }
- ```
- one could enumerate all the core directives at once:
-
- ```
- import {coreDirectives} from 'angular2/angular2';
- import {OtherDirective} from 'myDirectives';
-
- @Component({
- selector: 'my-component'
- })
- @View({
- templateUrl: 'myComponent.html',
- directives: [coreDirectives, OtherDirective]
- })
- export class MyComponent {
- ...
- }
- ```
-
-
-
diff --git a/public/docs/js/latest/api/directives/index.jade b/public/docs/js/latest/api/directives/index.jade
deleted file mode 100644
index f7aa17d831..0000000000
--- a/public/docs/js/latest/api/directives/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/directives.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/forms/AbstractControl-class.jade b/public/docs/js/latest/api/forms/AbstractControl-class.jade
deleted file mode 100644
index 4f9a237d39..0000000000
--- a/public/docs/js/latest/api/forms/AbstractControl-class.jade
+++ /dev/null
@@ -1,292 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 41)
-
-:markdown
- Omitting from external API doc as this is really an abstract internal concept.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(validator: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 validator
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 value
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 status
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 valid
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 errors
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 pristine
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dirty
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 touched
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 untouched
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 valueChanges
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 markAsTouched
-
-
- pre.prettyprint
- code.
- markAsTouched()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 markAsDirty
-
-
- pre.prettyprint
- code.
- markAsDirty({onlySelf}?: {onlySelf?: boolean})
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 setParent
-
-
- pre.prettyprint
- code.
- setParent(parent)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 updateValidity
-
-
- pre.prettyprint
- code.
- updateValidity({onlySelf}?: {onlySelf?: boolean})
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 updateValueAndValidity
-
-
- pre.prettyprint
- code.
- updateValueAndValidity({onlySelf, emitEvent}?: {onlySelf?: boolean,
- emitEvent?: boolean})
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 find
-
-
- pre.prettyprint
- code.
- find(path: List<string | number>| string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 getError
-
-
- pre.prettyprint
- code.
- getError(errorCode: string, path?: List<string>)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 hasError
-
-
- pre.prettyprint
- code.
- hasError(errorCode: string, path?: List<string>)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
deleted file mode 100644
index 33ebd0cbf6..0000000000
--- a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
+++ /dev/null
@@ -1,158 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/checkbox_value_accessor.ts (line 4)
-
-:markdown
- The accessor for writing a value and listening to changes on a checkbox input element.
-
- # Example
- ```
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(cd: NgControl, renderer: Renderer, elementRef: ElementRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 checked
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onTouched
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 cd
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 renderer
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 elementRef
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 writeValue
-
-
- pre.prettyprint
- code.
- writeValue(value)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnChange
-
-
- pre.prettyprint
- code.
- registerOnChange(fn)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnTouched
-
-
- pre.prettyprint
- code.
- registerOnTouched(fn)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/Control-class.jade b/public/docs/js/latest/api/forms/Control-class.jade
deleted file mode 100644
index e1855642cf..0000000000
--- a/public/docs/js/latest/api/forms/Control-class.jade
+++ /dev/null
@@ -1,62 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 139)
-
-:markdown
- Defines a part of a form that cannot be divided into other controls.
-
- `Control` is one of the three fundamental building blocks used to define forms in Angular, along
- with
- ControlGroup
and ControlArray
.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(value: any, validator?: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 updateValue
-
-
- pre.prettyprint
- code.
- updateValue(value: any, {onlySelf, emitEvent}?: {onlySelf?: boolean, emitEvent?: boolean})
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnChange
-
-
- pre.prettyprint
- code.
- registerOnChange(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/ControlArray-class.jade b/public/docs/js/latest/api/forms/ControlArray-class.jade
deleted file mode 100644
index 889a997c1e..0000000000
--- a/public/docs/js/latest/api/forms/ControlArray-class.jade
+++ /dev/null
@@ -1,130 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 254)
-
-:markdown
- Defines a part of a form, of variable length, that can contain other controls.
-
- A `ControlArray` aggregates the values and errors of each Control
in the group. Thus, if
- one of the controls
- in a group is invalid, the entire group is invalid. Similarly, if a control changes its value,
- the entire group
- changes as well.
-
- `ControlArray` is one of the three fundamental building blocks used to define forms in Angular,
- along with
- Control
and ControlGroup
. ControlGroup
can also contain other controls,
- but is of fixed
- length.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(controls: List<AbstractControl>, validator?: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 controls
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 at
-
-
- pre.prettyprint
- code.
- at(index: number)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 push
-
-
- pre.prettyprint
- code.
- push(control: AbstractControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 insert
-
-
- pre.prettyprint
- code.
- insert(index: number, control: AbstractControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 removeAt
-
-
- pre.prettyprint
- code.
- removeAt(index: number)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 length
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/ControlGroup-class.jade b/public/docs/js/latest/api/forms/ControlGroup-class.jade
deleted file mode 100644
index 643e5d4db8..0000000000
--- a/public/docs/js/latest/api/forms/ControlGroup-class.jade
+++ /dev/null
@@ -1,134 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 168)
-
-:markdown
- Defines a part of a form, of fixed length, that can contain other controls.
-
- A ControlGroup aggregates the values and errors of each Control
in the group. Thus, if
- one of the controls
- in a group is invalid, the entire group is invalid. Similarly, if a control changes its value,
- the entire group
- changes as well.
-
- `ControlGroup` is one of the three fundamental building blocks used to define forms in Angular,
- along with
- Control
and ControlArray
. ControlArray
can also contain other controls,
- but is of variable
- length.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(controls: StringMap<String, AbstractControl>, optionals?: StringMap<String, boolean>, validator?: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 controls
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 addControl
-
-
- pre.prettyprint
- code.
- addControl(name: string, c: AbstractControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 removeControl
-
-
- pre.prettyprint
- code.
- removeControl(name: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 include
-
-
- pre.prettyprint
- code.
- include(controlName: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 exclude
-
-
- pre.prettyprint
- code.
- exclude(controlName: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 contains
-
-
- pre.prettyprint
- code.
- contains(controlName: string)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade b/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade
deleted file mode 100644
index 2c6142c390..0000000000
--- a/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade
+++ /dev/null
@@ -1,63 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/control_value_accessor.ts (line 1)
-
-:markdown
- A bridge between a control and a native element.
-
- Please see DefaultValueAccessor
for more information.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 writeValue
-
-
- pre.prettyprint
- code.
- writeValue(obj: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnChange
-
-
- pre.prettyprint
- code.
- registerOnChange(fn: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnTouched
-
-
- pre.prettyprint
- code.
- registerOnTouched(fn: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
deleted file mode 100644
index c6881442dd..0000000000
--- a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
+++ /dev/null
@@ -1,159 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/default_value_accessor.ts (line 5)
-
-:markdown
- The default accessor for writing a value and listening to changes that is used by the
- NgModel
, NgFormControl
, and NgControlName
directives.
-
- # Example
- ```
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(cd: NgControl, renderer: Renderer, elementRef: ElementRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 value
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onTouched
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 cd
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 renderer
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 elementRef
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 writeValue
-
-
- pre.prettyprint
- code.
- writeValue(value)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnChange
-
-
- pre.prettyprint
- code.
- registerOnChange(fn)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnTouched
-
-
- pre.prettyprint
- code.
- registerOnTouched(fn)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/FormBuilder-class.jade b/public/docs/js/latest/api/forms/FormBuilder-class.jade
deleted file mode 100644
index 6a03f7a92f..0000000000
--- a/public/docs/js/latest/api/forms/FormBuilder-class.jade
+++ /dev/null
@@ -1,120 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/form_builder.ts (line 3)
-
-:markdown
- Creates a form object from a user-specified configuration.
-
- # Example
-
- ```
- import {Component, View, bootstrap} from 'angular2/angular2';
- import {FormBuilder, Validators, formDirectives, ControlGroup} from 'angular2/forms';
-
- @Component({
- selector: 'login-comp',
- appInjector: [
- FormBuilder
- ]
- })
- @View({
- template: `
-
- `,
- directives: [
- formDirectives
- ]
- })
- class LoginComp {
- loginForm: ControlGroup;
-
- constructor(builder: FormBuilder) {
- this.loginForm = builder.group({
- login: ["", Validators.required],
-
- passwordRetry: builder.group({
- password: ["", Validators.required],
- passwordConfirmation: ["", Validators.required]
- })
- });
- }
- }
-
- bootstrap(LoginComp)
- ```
-
- This example creates a ControlGroup
that consists of a `login` Control
, and a
- nested
- ControlGroup
that defines a `password` and a `passwordConfirmation` Control
:
-
- ```
- var loginForm = builder.group({
- login: ["", Validators.required],
-
- passwordRetry: builder.group({
- password: ["", Validators.required],
- passwordConfirmation: ["", Validators.required]
- })
- });
-
- ```
-.l-main-section
- h2 Members
- .l-sub-section
- h3 group
-
-
- pre.prettyprint
- code.
- group(controlsConfig: StringMap<string, any>, extra?: StringMap<string, any>)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 control
-
-
- pre.prettyprint
- code.
- control(value: Object, validator?: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 array
-
-
- pre.prettyprint
- code.
- array(controlsConfig: List<any>, validator?: Function)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/INVALID-const.jade b/public/docs/js/latest/api/forms/INVALID-const.jade
deleted file mode 100644
index 4692796713..0000000000
--- a/public/docs/js/latest/api/forms/INVALID-const.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 INVALID variable
- p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 18)
-
- :markdown
- Indicates that a Control is invalid, i.e. that an error exists in the input value.
-
-
diff --git a/public/docs/js/latest/api/forms/NgControl-class.jade b/public/docs/js/latest/api/forms/NgControl-class.jade
deleted file mode 100644
index 60605dbae3..0000000000
--- a/public/docs/js/latest/api/forms/NgControl-class.jade
+++ /dev/null
@@ -1,108 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/ng_control.ts (line 3)
-
-:markdown
- An abstract class that all control directive extend.
-
- It binds a Control
object to a DOM element.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 name
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 valueAccessor
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 validator
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 control
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 viewToModelUpdate
-
-
- pre.prettyprint
- code.
- viewToModelUpdate(newValue: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/NgControlGroup-class.jade b/public/docs/js/latest/api/forms/NgControlGroup-class.jade
deleted file mode 100644
index c819d2b617..0000000000
--- a/public/docs/js/latest/api/forms/NgControlGroup-class.jade
+++ /dev/null
@@ -1,118 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/ng_control_group.ts (line 10)
-
-:markdown
- Creates and binds a control group to a DOM element.
-
- This directive can only be used as a child of NgForm
or NgFormModel
.
-
- # Example
-
- In this example, we create the credentials and personal control groups.
- We can work with each group separately: check its validity, get its value, listen to its changes.
-
- ```
- @Component({selector: "signup-comp"})
- @View({
- directives: [formDirectives],
- template: `
-
- `})
- class SignupComp {
- onSignUp(value) {
- // value === {personal: {name: 'some name'},
- // credentials: {login: 'some login', password: 'some password'}}
- }
- }
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_parent: ControlContainer)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 onInit
-
-
- pre.prettyprint
- code.
- onInit()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 formDirective
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/NgControlName-class.jade b/public/docs/js/latest/api/forms/NgControlName-class.jade
deleted file mode 100644
index 15a928edb2..0000000000
--- a/public/docs/js/latest/api/forms/NgControlName-class.jade
+++ /dev/null
@@ -1,193 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/ng_control_name.ts (line 13)
-
-:markdown
- Creates and binds a control with a specified name to a DOM element.
-
- This directive can only be used as a child of NgForm
or NgFormModel
.
-
- # Example
-
- In this example, we create the login and password controls.
- We can work with each control separately: check its validity, get its value, listen to its
- changes.
-
- ```
- @Component({selector: "login-comp"})
- @View({
- directives: [formDirectives],
- template: `
-
- `})
- class LoginComp {
- onLogIn(value) {
- // value === {login: 'some login', password: 'some password'}
- }
- }
- ```
-
- We can also use ng-model to bind a domain model to the form.
-
- ```
- @Component({selector: "login-comp"})
- @View({
- directives: [formDirectives],
- template: `
-
- `})
- class LoginComp {
- credentials: {login:string, password:string};
-
- onLogIn() {
- // this.credentials.login === "some login"
- // this.credentials.password === "some password"
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_parent: ControlContainer)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 ngModel
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 model
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- pre.prettyprint
- code.
- onChange(c: StringMap<string, any>)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 viewToModelUpdate
-
-
- pre.prettyprint
- code.
- viewToModelUpdate(newValue: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 formDirective
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 control
-
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/NgForm-class.jade b/public/docs/js/latest/api/forms/NgForm-class.jade
deleted file mode 100644
index 73ecd9deb6..0000000000
--- a/public/docs/js/latest/api/forms/NgForm-class.jade
+++ /dev/null
@@ -1,263 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/ng_form.ts (line 14)
-
-:markdown
- Creates and binds a form object to a DOM element.
-
- # Example
-
- ```
- @Component({selector: "signup-comp"})
- @View({
- directives: [formDirectives],
- template: `
-
- `})
- class SignupComp {
- onSignUp(value) {
- // value === {personal: {name: 'some name'},
- // credentials: {login: 'some login', password: 'some password'}}
- }
- }
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 form
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 ngSubmit
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 formDirective
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 controls
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 value
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 errors
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 addControl
-
-
- pre.prettyprint
- code.
- addControl(dir: NgControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 getControl
-
-
- pre.prettyprint
- code.
- getControl(dir: NgControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 removeControl
-
-
- pre.prettyprint
- code.
- removeControl(dir: NgControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 addControlGroup
-
-
- pre.prettyprint
- code.
- addControlGroup(dir: NgControlGroup)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 removeControlGroup
-
-
- pre.prettyprint
- code.
- removeControlGroup(dir: NgControlGroup)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 updateModel
-
-
- pre.prettyprint
- code.
- updateModel(dir: NgControl, value: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onSubmit
-
-
- pre.prettyprint
- code.
- onSubmit()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/NgFormControl-class.jade b/public/docs/js/latest/api/forms/NgFormControl-class.jade
deleted file mode 100644
index 0c04a1ea83..0000000000
--- a/public/docs/js/latest/api/forms/NgFormControl-class.jade
+++ /dev/null
@@ -1,165 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/ng_form_control.ts (line 13)
-
-:markdown
- Binds an existing control to a DOM element.
-
- # Example
-
- In this example, we bind the control to an input element. When the value of the input element
- changes, the value of
- the control will reflect that change. Likewise, if the value of the control changes, the input
- element reflects that
- change.
-
- ```
- @Component({selector: "login-comp"})
- @View({
- directives: [formDirectives],
- template: " "
- })
- class LoginComp {
- loginControl:Control;
-
- constructor() {
- this.loginControl = new Control('');
- }
- }
-
- ```
-
- We can also use ng-model to bind a domain model to the form.
-
- ```
- @Component({selector: "login-comp"})
- @View({
- directives: [formDirectives],
- template: " "
- })
- class LoginComp {
- loginControl:Control;
- login:string;
-
- constructor() {
- this.loginControl = new Control('');
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 form
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 ngModel
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 model
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- pre.prettyprint
- code.
- onChange(c)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 control
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 viewToModelUpdate
-
-
- pre.prettyprint
- code.
- viewToModelUpdate(newValue: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/NgFormModel-class.jade b/public/docs/js/latest/api/forms/NgFormModel-class.jade
deleted file mode 100644
index 97738072c5..0000000000
--- a/public/docs/js/latest/api/forms/NgFormModel-class.jade
+++ /dev/null
@@ -1,288 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/ng_form_model.ts (line 15)
-
-:markdown
- Binds an existing control group to a DOM element.
-
- # Example
-
- In this example, we bind the control group to the form element, and we bind the login and
- password controls to the
- login and password elements.
-
- ```
- @Component({selector: "login-comp"})
- @View({
- directives: [formDirectives],
- template: ""
- })
- class LoginComp {
- loginForm:ControlGroup;
-
- constructor() {
- this.loginForm = new ControlGroup({
- login: new Control(""),
- password: new Control("")
- });
- }
-
- onLogin() {
- // this.loginForm.value
- }
- }
-
- ```
-
- We can also use ng-model to bind a domain model to the form.
-
- ```
- @Component({selector: "login-comp"})
- @View({
- directives: [formDirectives],
- template: ""
- })
- class LoginComp {
- credentials:{login:string, password:string}
- loginForm:ControlGroup;
-
- constructor() {
- this.loginForm = new ControlGroup({
- login: new Control(""),
- password: new Control("")
- });
- }
-
- onLogin() {
- // this.credentials.login === 'some login'
- // this.credentials.password === 'some password'
- }
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 form
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 directives
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 ngSubmit
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- pre.prettyprint
- code.
- onChange(_)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 formDirective
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 addControl
-
-
- pre.prettyprint
- code.
- addControl(dir: NgControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 getControl
-
-
- pre.prettyprint
- code.
- getControl(dir: NgControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 removeControl
-
-
- pre.prettyprint
- code.
- removeControl(dir: NgControl)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 addControlGroup
-
-
- pre.prettyprint
- code.
- addControlGroup(dir: NgControlGroup)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 removeControlGroup
-
-
- pre.prettyprint
- code.
- removeControlGroup(dir: NgControlGroup)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 updateModel
-
-
- pre.prettyprint
- code.
- updateModel(dir: NgControl, value: any)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onSubmit
-
-
- pre.prettyprint
- code.
- onSubmit()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/NgModel-class.jade b/public/docs/js/latest/api/forms/NgModel-class.jade
deleted file mode 100644
index 4e78f8b7e6..0000000000
--- a/public/docs/js/latest/api/forms/NgModel-class.jade
+++ /dev/null
@@ -1,108 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/ng_model.ts (line 12)
-
-:markdown
- Binds a domain model to the form.
-
- # Example
- ```
- @Component({selector: "search-comp"})
- @View({
- directives: [formDirectives],
- template: `
-
- `})
- class SearchComp {
- searchQuery: string;
- }
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 ngModel
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 model
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- pre.prettyprint
- code.
- onChange(c)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 control
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 viewToModelUpdate
-
-
- pre.prettyprint
- code.
- viewToModelUpdate(newValue: any)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade b/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade
deleted file mode 100644
index 67e307a984..0000000000
--- a/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade
+++ /dev/null
@@ -1,24 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/validators.ts (line 3)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(c: NgControl)
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/SelectControlValueAccessor-class.jade b/public/docs/js/latest/api/forms/SelectControlValueAccessor-class.jade
deleted file mode 100644
index 2c5b70e8db..0000000000
--- a/public/docs/js/latest/api/forms/SelectControlValueAccessor-class.jade
+++ /dev/null
@@ -1,153 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives/select_control_value_accessor.ts (line 19)
-
-:markdown
- The accessor for writing a value and listening to changes on a select element.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(cd: NgControl, renderer: Renderer, elementRef: ElementRef, query: QueryList<NgSelectOption>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 value
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onChange
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onTouched
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 cd
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 renderer
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 elementRef
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 writeValue
-
-
- pre.prettyprint
- code.
- writeValue(value)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnChange
-
-
- pre.prettyprint
- code.
- registerOnChange(fn)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOnTouched
-
-
- pre.prettyprint
- code.
- registerOnTouched(fn)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/forms/VALID-const.jade b/public/docs/js/latest/api/forms/VALID-const.jade
deleted file mode 100644
index 478a93097c..0000000000
--- a/public/docs/js/latest/api/forms/VALID-const.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 VALID variable
- p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 11)
-
- :markdown
- Indicates that a Control is valid, i.e. that no errors exist in the input value.
-
-
diff --git a/public/docs/js/latest/api/forms/Validators-class.jade b/public/docs/js/latest/api/forms/Validators-class.jade
deleted file mode 100644
index bbd71eb77d..0000000000
--- a/public/docs/js/latest/api/forms/Validators-class.jade
+++ /dev/null
@@ -1,14 +0,0 @@
-
-p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/validators.ts (line 4)
-
-:markdown
- Provides a set of validators used by form controls.
-
- # Example
-
- ```
- var loginControl = new Control("", Validators.required)
- ```
-
diff --git a/public/docs/js/latest/api/forms/_data.json b/public/docs/js/latest/api/forms/_data.json
deleted file mode 100644
index d5d1d94e4d..0000000000
--- a/public/docs/js/latest/api/forms/_data.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "index" : {
- "title" : "Forms",
- "intro" : "This module is used for handling user input, by defining and building a ControlGroup
thatconsists ofControl
objects, and mapping them onto the DOM. Control
objects can then be usedto read informationfrom the form DOM elements.This module is not included in the `angular2` module; you must import the forms moduleexplicitly."
- },
-
- "formInjectables-const" : {
- "title" : "formInjectables Const"
- },
-
- "VALID-const" : {
- "title" : "VALID Const"
- },
-
- "INVALID-const" : {
- "title" : "INVALID Const"
- },
-
- "isControl-function" : {
- "title" : "isControl Function"
- },
-
- "AbstractControl-class" : {
- "title" : "AbstractControl Class"
- },
-
- "Control-class" : {
- "title" : "Control Class"
- },
-
- "ControlGroup-class" : {
- "title" : "ControlGroup Class"
- },
-
- "ControlArray-class" : {
- "title" : "ControlArray Class"
- },
-
- "NgControlName-class" : {
- "title" : "NgControlName Class"
- },
-
- "NgFormControl-class" : {
- "title" : "NgFormControl Class"
- },
-
- "NgModel-class" : {
- "title" : "NgModel Class"
- },
-
- "NgControl-class" : {
- "title" : "NgControl Class"
- },
-
- "NgControlGroup-class" : {
- "title" : "NgControlGroup Class"
- },
-
- "NgFormModel-class" : {
- "title" : "NgFormModel Class"
- },
-
- "NgForm-class" : {
- "title" : "NgForm Class"
- },
-
- "ControlValueAccessor-interface" : {
- "title" : "ControlValueAccessor Interface"
- },
-
- "DefaultValueAccessor-class" : {
- "title" : "DefaultValueAccessor Class"
- },
-
- "CheckboxControlValueAccessor-class" : {
- "title" : "CheckboxControlValueAccessor Class"
- },
-
- "SelectControlValueAccessor-class" : {
- "title" : "SelectControlValueAccessor Class"
- },
-
- "NgRequiredValidator-class" : {
- "title" : "NgRequiredValidator Class"
- },
-
- "formDirectives-const" : {
- "title" : "formDirectives Const"
- },
-
- "Validators-class" : {
- "title" : "Validators Class"
- },
-
- "FormBuilder-class" : {
- "title" : "FormBuilder Class"
- }
-}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/forms/formDirectives-const.jade b/public/docs/js/latest/api/forms/formDirectives-const.jade
deleted file mode 100644
index a1056bb324..0000000000
--- a/public/docs/js/latest/api/forms/formDirectives-const.jade
+++ /dev/null
@@ -1,13 +0,0 @@
-
-.l-main-section
- h2 formDirectives variable
- p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/directives.ts (line 37)
-
- :markdown
- A list of all the form directives used as part of a `@View` annotation.
-
- This is a shorthand for importing them each individually.
-
-
diff --git a/public/docs/js/latest/api/forms/formInjectables-const.jade b/public/docs/js/latest/api/forms/formInjectables-const.jade
deleted file mode 100644
index bd233bc8bf..0000000000
--- a/public/docs/js/latest/api/forms/formInjectables-const.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 formInjectables variable
- p.location-badge.
- exported from angular2/forms
- defined in angular2/forms.ts (line 24)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/forms/index.jade b/public/docs/js/latest/api/forms/index.jade
deleted file mode 100644
index e5b2048197..0000000000
--- a/public/docs/js/latest/api/forms/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/forms.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/forms/isControl-function.jade b/public/docs/js/latest/api/forms/isControl-function.jade
deleted file mode 100644
index 7322eef237..0000000000
--- a/public/docs/js/latest/api/forms/isControl-function.jade
+++ /dev/null
@@ -1,19 +0,0 @@
-
-.l-main-section
- h2(class="function export") isControl
-
-
- pre.prettyprint
- code.
- isControl(c: Object) : boolean
-
-
- p.location-badge.
- exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 18)
-
- :markdown
-
-
-
-
diff --git a/public/docs/js/latest/api/http/BaseRequestOptions-class.jade b/public/docs/js/latest/api/http/BaseRequestOptions-class.jade
deleted file mode 100644
index c5163ed2a2..0000000000
--- a/public/docs/js/latest/api/http/BaseRequestOptions-class.jade
+++ /dev/null
@@ -1,40 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/base_request_options.ts (line 54)
-
-:markdown
- Injectable version of RequestOptions
.
-
- #Example
-
- ```
- import {Http, BaseRequestOptions, Request} from 'angular2/http';
- ...
- class MyComponent {
- constructor(baseRequestOptions:BaseRequestOptions, http:Http) {
- var options = baseRequestOptions.merge({body: 'foobar'});
- var request = new Request('https://foo', options);
- http.request(request).subscribe(res => this.bars = res.json());
- }
- }
-
- ```
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/Headers-class.jade b/public/docs/js/latest/api/http/Headers-class.jade
deleted file mode 100644
index fa6e25b0f4..0000000000
--- a/public/docs/js/latest/api/http/Headers-class.jade
+++ /dev/null
@@ -1,197 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/headers.ts (line 15)
-
-:markdown
- Polyfill for [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers), as
- specified in the [Fetch Spec](https://fetch.spec.whatwg.org/#headers-class). The only known
- difference from the spec is the lack of an `entries` method.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(headers?: Headers | Object)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 append
-
-
- pre.prettyprint
- code.
- append(name: string, value: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 delete
-
-
- pre.prettyprint
- code.
- delete(name: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEach
-
-
- pre.prettyprint
- code.
- forEach(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(header: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 has
-
-
- pre.prettyprint
- code.
- has(header: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 keys
-
-
- pre.prettyprint
- code.
- keys()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 set
-
-
- pre.prettyprint
- code.
- set(header: string, value: string | List<string>)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 values
-
-
- pre.prettyprint
- code.
- values()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 getAll
-
-
- pre.prettyprint
- code.
- getAll(header: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 entries
-
-
- pre.prettyprint
- code.
- entries()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/Http-class.jade b/public/docs/js/latest/api/http/Http-class.jade
deleted file mode 100644
index 60dbadc6ff..0000000000
--- a/public/docs/js/latest/api/http/Http-class.jade
+++ /dev/null
@@ -1,199 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/http.ts (line 22)
-
-:markdown
- Performs http requests using `XMLHttpRequest` as the default backend.
-
- `Http` is available as an injectable class, with methods to perform http requests. Calling
- `request` returns an
- [Observable](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.md),
- which will emit a single Response
when a response is
- received.
-
- #Example
-
- ```
- import {Http, httpInjectables} from 'angular2/http';
- @Component({selector: 'http-app', appInjector: [httpInjectables]})
- @View({templateUrl: 'people.html'})
- class PeopleComponent {
- constructor(http: Http) {
- http('people.json')
- // Call map on the response observable to get the parsed people object
- .map(res => res.json())
- // Subscribe to the observable to get the parsed people object and attach it to the
- // component
- .subscribe(people => this.people = people);
- }
- }
- ```
-
- The default construct used to perform requests, `XMLHttpRequest`, is abstracted as a "Backend" (
- XHRBackend
in this case), which could be mocked with dependency injection by replacing
- the XHRBackend
binding, as in the following example:
-
- #Example
-
- ```
- import {MockBackend, BaseRequestOptions, Http} from 'angular2/http';
- var injector = Injector.resolveAndCreate([
- BaseRequestOptions,
- MockBackend,
- bind(Http).toFactory(
- function(backend, defaultOptions) {
- return new Http(backend, defaultOptions);
- },
- [MockBackend, BaseRequestOptions])
- ]);
- var http = injector.get(Http);
- http.get('request-from-mock-backend.json').subscribe((res:Response) => doSomething(res));
- ```
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_backend: XHRBackend, _defaultOptions: BaseRequestOptions)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 request
-
-
- pre.prettyprint
- code.
- request(url: string | Request, options?: IRequestOptions)
-
- :markdown
-
- Performs any type of http request. First argument is required, and can either be a url or
- a Request
instance. If the first argument is a url, an optional RequestOptions
- object can be provided as the 2nd argument. The options object will be merged with the values
- of BaseRequestOptions
before performing the request.
-
-
-
-
-
-
-
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(url: string, options?: IRequestOptions)
-
- :markdown
-
- Performs a request with `get` http method.
-
-
-
-
-
-
-
- .l-sub-section
- h3 post
-
-
- pre.prettyprint
- code.
- post(url: string, body: URLSearchParams | FormData | Blob | string, options?: IRequestOptions)
-
- :markdown
-
- Performs a request with `post` http method.
-
-
-
-
-
-
-
- .l-sub-section
- h3 put
-
-
- pre.prettyprint
- code.
- put(url: string, body: URLSearchParams | FormData | Blob | string, options?: IRequestOptions)
-
- :markdown
-
- Performs a request with `put` http method.
-
-
-
-
-
-
-
- .l-sub-section
- h3 delete
-
-
- pre.prettyprint
- code.
- delete(url: string, options?: IRequestOptions)
-
- :markdown
-
- Performs a request with `delete` http method.
-
-
-
-
-
-
-
- .l-sub-section
- h3 patch
-
-
- pre.prettyprint
- code.
- patch(url: string, body: URLSearchParams | FormData | Blob | string, options?: IRequestOptions)
-
- :markdown
-
- Performs a request with `patch` http method.
-
-
-
-
-
-
-
- .l-sub-section
- h3 head
-
-
- pre.prettyprint
- code.
- head(url: string, options?: IRequestOptions)
-
- :markdown
-
- Performs a request with `head` http method.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/HttpFactory-function.jade b/public/docs/js/latest/api/http/HttpFactory-function.jade
deleted file mode 100644
index fa41b41d72..0000000000
--- a/public/docs/js/latest/api/http/HttpFactory-function.jade
+++ /dev/null
@@ -1,38 +0,0 @@
-
-.l-main-section
- h2(class="function export") HttpFactory
-
-
- pre.prettyprint
- code.
- HttpFactory(backend: XHRBackend, defaultOptions: BaseRequestOptions)
-
-
- p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/http.ts (line 149)
-
- :markdown
- Alias to the `request` method of Http
, for those who'd prefer a simple function instead
- of an object. In order to get TypeScript type information about the `HttpFactory`, the IHttp
interface can be used as shown in the following example.
-
- #Example
-
- ```
- import {httpInjectables, HttpFactory, IHttp} from 'angular2/http';
- @Component({
- appInjector: [httpInjectables]
- })
- @View({
- templateUrl: 'people.html'
- })
- class MyComponent {
- constructor(@Inject(HttpFactory) http:IHttp) {
- http('people.json').subscribe(res => this.people = res.json());
- }
- }
- ```
-
-
-
-
diff --git a/public/docs/js/latest/api/http/IHttp-interface.jade b/public/docs/js/latest/api/http/IHttp-interface.jade
deleted file mode 100644
index fc883358a8..0000000000
--- a/public/docs/js/latest/api/http/IHttp-interface.jade
+++ /dev/null
@@ -1,26 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/interfaces.ts (line 59)
-
-:markdown
- Provides an interface to provide type information for HttpFactory
when injecting.
-
- #Example
-
- ```
- * import {httpInjectables, HttpFactory, IHttp} from 'angular2/http';
- @Component({
- appInjector: [httpInjectables]
- })
- @View({
- templateUrl: 'people.html'
- })
- class MyComponent {
- constructor(@Inject(HttpFactory) http:IHttp) {
- http('people.json').subscribe(res => this.people = res.json());
- }
- }
- ```
-
-
diff --git a/public/docs/js/latest/api/http/MockBackend-class.jade b/public/docs/js/latest/api/http/MockBackend-class.jade
deleted file mode 100644
index be43f3a64a..0000000000
--- a/public/docs/js/latest/api/http/MockBackend-class.jade
+++ /dev/null
@@ -1,195 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/backends/mock_backend.ts (line 106)
-
-:markdown
- A mock backend for testing the Http
service.
-
- This class can be injected in tests, and should be used to override bindings
- to other backends, such as XHRBackend
.
-
- #Example
-
- ```
- import {MockBackend, DefaultOptions, Http} from 'angular2/http';
- it('should get some data', inject([AsyncTestCompleter], (async) => {
- var connection;
- var injector = Injector.resolveAndCreate([
- MockBackend,
- bind(Http).toFactory((backend, defaultOptions) => {
- return new Http(backend, defaultOptions)
- }, [MockBackend, DefaultOptions])]);
- var http = injector.get(Http);
- var backend = injector.get(MockBackend);
- //Assign any newly-created connection to local variable
- backend.connections.subscribe(c => connection = c);
- http.request('data.json').subscribe((res) => {
- expect(res.text()).toBe('awesome');
- async.done();
- });
- connection.mockRespond(new Response('awesome'));
- }));
- ```
-
- This method only exists in the mock implementation, not in real Backends.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 connections
-
-
- :markdown
-
- [RxJS
- Subject](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/subject.md)
- of MockConnection
instances that have been created by this backend. Can be subscribed
- to in order to respond to connections.
-
- #Example
-
- ```
- import {MockBackend, Http, BaseRequestOptions} from 'angular2/http';
- import {Injector} from 'angular2/di';
-
- it('should get a response', () => {
- var connection; //this will be set when a new connection is emitted from the backend.
- var text; //this will be set from mock response
- var injector = Injector.resolveAndCreate([
- MockBackend,
- bind(Http).toFactory(backend, options) {
- return new Http(backend, options);
- }, [MockBackend, BaseRequestOptions]]);
- var backend = injector.get(MockBackend);
- var http = injector.get(Http);
- backend.connections.subscribe(c => connection = c);
- http.request('something.json').subscribe(res => {
- text = res.text();
- });
- connection.mockRespond(new Response('Something'));
- expect(text).toBe('Something');
- });
- ```
-
- This property only exists in the mock implementation, not in real Backends.
-
-
-
-
-
-
-
- .l-sub-section
- h3 connectionsArray
-
-
- :markdown
-
- An array representation of `connections`. This array will be updated with each connection that
- is created by this backend.
-
- This property only exists in the mock implementation, not in real Backends.
-
-
-
-
-
-
-
- .l-sub-section
- h3 pendingConnections
-
-
- :markdown
-
- [Observable](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.md)
- of MockConnection
instances that haven't yet been resolved (i.e. with a `readyState`
- less than 4). Used internally to verify that no connections are pending via the
- `verifyNoPendingRequests` method.
-
- This property only exists in the mock implementation, not in real Backends.
-
-
-
-
-
-
-
- .l-sub-section
- h3 verifyNoPendingRequests
-
-
- pre.prettyprint
- code.
- verifyNoPendingRequests()
-
- :markdown
-
- Checks all connections, and raises an exception if any connection has not received a response.
-
- This method only exists in the mock implementation, not in real Backends.
-
-
-
-
-
-
-
- .l-sub-section
- h3 resolveAllConnections
-
-
- pre.prettyprint
- code.
- resolveAllConnections()
-
- :markdown
-
- Can be used in conjunction with `verifyNoPendingRequests` to resolve any not-yet-resolve
- connections, if it's expected that there are connections that have not yet received a response.
-
- This method only exists in the mock implementation, not in real Backends.
-
-
-
-
-
-
-
- .l-sub-section
- h3 createConnection
-
-
- pre.prettyprint
- code.
- createConnection(req: Request)
-
- :markdown
-
- Creates a new MockConnection
. This is equivalent to calling `new
- MockConnection()`, except that it also will emit the new `Connection` to the `connections`
- observable of this `MockBackend` instance. This method will usually only be used by tests
- against the framework itself, not by end-users.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/MockConnection-class.jade b/public/docs/js/latest/api/http/MockConnection-class.jade
deleted file mode 100644
index 425ccebeaa..0000000000
--- a/public/docs/js/latest/api/http/MockConnection-class.jade
+++ /dev/null
@@ -1,160 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/backends/mock_backend.ts (line 6)
-
-:markdown
- Connection class used by MockBackend
-
- This class is typically not instantiated directly, but instances can be retrieved by subscribing
- to the `connections` Observable of
- MockBackend
in order to mock responses to requests.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(req: Request)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 readyState
-
-
- :markdown
-
- Describes the state of the connection, based on `XMLHttpRequest.readyState`, but with
- additional states. For example, state 5 indicates an aborted connection.
-
-
-
-
-
-
-
- .l-sub-section
- h3 request
-
-
- :markdown
-
- Request
instance used to create the connection.
-
-
-
-
-
-
-
- .l-sub-section
- h3 response
-
-
- :markdown
-
- [RxJS
- Observable](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.md)
- of Response
. Can be subscribed to in order to be notified when a response is available.
-
-
-
-
-
-
-
- .l-sub-section
- h3 dispose
-
-
- pre.prettyprint
- code.
- dispose()
-
- :markdown
-
- Changes the `readyState` of the connection to a custom state of 5 (cancelled).
-
-
-
-
-
-
-
- .l-sub-section
- h3 mockRespond
-
-
- pre.prettyprint
- code.
- mockRespond(res: Response)
-
- :markdown
-
- Sends a mock response to the connection. This response is the value that is emitted to the
- `Observable` returned by Http
.
-
- #Example
-
- ```
- var connection;
- backend.connections.subscribe(c => connection = c);
- http.request('data.json').subscribe(res => console.log(res.text()));
- connection.mockRespond(new Response('fake response')); //logs 'fake response'
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 mockDownload
-
-
- pre.prettyprint
- code.
- mockDownload(res: Response)
-
- :markdown
-
- Not yet implemented!
-
- Sends the provided Response
to the `downloadObserver` of the `Request`
- associated with this connection.
-
-
-
-
-
-
-
- .l-sub-section
- h3 mockError
-
-
- pre.prettyprint
- code.
- mockError(err?)
-
- :markdown
-
- Emits the provided error object as an error to the Response
observable returned
- from Http
.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/Request-class.jade b/public/docs/js/latest/api/http/Request-class.jade
deleted file mode 100644
index 51973a855d..0000000000
--- a/public/docs/js/latest/api/http/Request-class.jade
+++ /dev/null
@@ -1,122 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/static_request.ts (line 5)
-
-:markdown
- Creates `Request` instances with default values.
-
- The Request's interface is inspired by the Request constructor defined in the [Fetch
- Spec](https://fetch.spec.whatwg.org/#request-class),
- but is considered a static value whose body can be accessed many times. There are other
- differences in the implementation, but this is the most significant.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(url: string, {body, method = RequestMethods.GET, mode = RequestModesOpts.Cors,
- credentials = RequestCredentialsOpts.Omit,
- headers = new Headers()}?: IRequestOptions)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 method
-
-
- :markdown
-
- Http method with which to perform the request.
-
- Defaults to GET.
-
-
-
-
-
-
-
- .l-sub-section
- h3 mode
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 credentials
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 headers
-
-
- :markdown
-
- Headers object based on the `Headers` class in the [Fetch
- Spec](https://fetch.spec.whatwg.org/#headers-class). Headers
class reference.
-
-
-
-
-
-
-
- .l-sub-section
- h3 url
-
-
- :markdown
-
- Url of the remote resource
-
-
-
-
-
-
- .l-sub-section
- h3 text
-
-
- pre.prettyprint
- code.
- text()
-
- :markdown
-
- Returns the request's body as string, assuming that body exists. If body is undefined, return
- empty
- string.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/RequestOptions-class.jade b/public/docs/js/latest/api/http/RequestOptions-class.jade
deleted file mode 100644
index c3289187a6..0000000000
--- a/public/docs/js/latest/api/http/RequestOptions-class.jade
+++ /dev/null
@@ -1,132 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/base_request_options.ts (line 7)
-
-:markdown
- Creates a request options object with default properties as described in the [Fetch
- Spec](https://fetch.spec.whatwg.org/#requestinit) to be optionally provided when instantiating a
- Request
. This class is used implicitly by Http
to merge in provided request
- options with the default options specified here. These same default options are injectable via
- the BaseRequestOptions
class.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({method, headers, body, mode, credentials, cache}?: IRequestOptions)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 method
-
-
- :markdown
-
- Http method with which to execute the request.
-
- Defaults to "GET".
-
-
-
-
-
-
-
- .l-sub-section
- h3 headers
-
-
- :markdown
-
- Headers object based on the `Headers` class in the [Fetch
- Spec](https://fetch.spec.whatwg.org/#headers-class).
-
-
-
-
-
-
-
- .l-sub-section
- h3 body
-
-
- :markdown
-
- Body to be used when creating the request.
-
-
-
-
-
-
-
- .l-sub-section
- h3 mode
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 credentials
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 cache
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 merge
-
-
- pre.prettyprint
- code.
- merge(opts?: IRequestOptions)
-
- :markdown
-
- Creates a copy of the `RequestOptions` instance, using the optional input as values to override
- existing values.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/Response-class.jade b/public/docs/js/latest/api/http/Response-class.jade
deleted file mode 100644
index 6ae33c59d4..0000000000
--- a/public/docs/js/latest/api/http/Response-class.jade
+++ /dev/null
@@ -1,239 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/static_response.ts (line 5)
-
-:markdown
- Creates `Response` instances with default values.
-
- Though this object isn't
- usually instantiated by end-users, it is the primary object interacted with when it comes time to
- add data to a view.
-
- #Example
-
- ```
- http.request('my-friends.txt').subscribe(response => this.friends = response.text());
- ```
-
- The Response's interface is inspired by the Request constructor defined in the [Fetch
- Spec](https://fetch.spec.whatwg.org/#response-class), but is considered a static value whose body
- can be accessed many times. There are other differences in the implementation, but this is the
- most significant.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_body?: string | Object | ArrayBuffer | JSON | FormData | Blob, {status, statusText, headers, type, url}?: ResponseOptions)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 type
-
-
- :markdown
-
- One of "basic", "cors", "default", "error, or "opaque".
-
- Defaults to "default".
-
-
-
-
-
-
-
- .l-sub-section
- h3 ok
-
-
- :markdown
-
- True if the response's status is within 200-299
-
-
-
-
-
-
-
- .l-sub-section
- h3 url
-
-
- :markdown
-
- URL of response.
-
- Defaults to empty string.
-
-
-
-
-
-
-
- .l-sub-section
- h3 status
-
-
- :markdown
-
- Status code returned by server.
-
- Defaults to 200.
-
-
-
-
-
-
-
- .l-sub-section
- h3 statusText
-
-
- :markdown
-
- Text representing the corresponding reason phrase to the `status`, as defined in [ietf rfc 2616
- section 6.1.1](https://tools.ietf.org/html/rfc2616#section-6.1.1)
-
- Defaults to "OK"
-
-
-
-
-
-
-
- .l-sub-section
- h3 bytesLoaded
-
-
- :markdown
-
- Non-standard property
-
- Denotes how many of the response body's bytes have been loaded, for example if the response is
- the result of a progress event.
-
-
-
-
-
-
-
- .l-sub-section
- h3 totalBytes
-
-
- :markdown
-
- Non-standard property
-
- Denotes how many bytes are expected in the final response body.
-
-
-
-
-
-
-
- .l-sub-section
- h3 headers
-
-
- :markdown
-
- Headers object based on the `Headers` class in the [Fetch
- Spec](https://fetch.spec.whatwg.org/#headers-class).
-
-
-
-
-
-
-
- .l-sub-section
- h3 blob
-
-
- pre.prettyprint
- code.
- blob()
-
- :markdown
-
- Not yet implemented
-
-
-
-
-
-
-
- .l-sub-section
- h3 json
-
-
- pre.prettyprint
- code.
- json()
-
- :markdown
-
- Attempts to return body as parsed `JSON` object, or raises an exception.
-
-
-
-
-
-
-
- .l-sub-section
- h3 text
-
-
- pre.prettyprint
- code.
- text()
-
- :markdown
-
- Returns the body as a string, presuming `toString()` can be called on the response body.
-
-
-
-
-
-
-
- .l-sub-section
- h3 arrayBuffer
-
-
- pre.prettyprint
- code.
- arrayBuffer()
-
- :markdown
-
- Not yet implemented
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/XHRBackend-class.jade b/public/docs/js/latest/api/http/XHRBackend-class.jade
deleted file mode 100644
index 9431638c8e..0000000000
--- a/public/docs/js/latest/api/http/XHRBackend-class.jade
+++ /dev/null
@@ -1,64 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/backends/xhr_backend.ts (line 49)
-
-:markdown
- Creates XHRConnection
instances.
-
- This class would typically not be used by end users, but could be
- overridden if a different backend implementation should be used,
- such as in a node backend.
-
- #Example
-
- ```
- import {Http, MyNodeBackend, httpInjectables, BaseRequestOptions} from 'angular2/http';
- @Component({
- appInjector: [
- httpInjectables,
- bind(Http).toFactory((backend, options) => {
- return new Http(backend, options);
- }, [MyNodeBackend, BaseRequestOptions])]
- })
- class MyComponent {
- constructor(http:Http) {
- http('people.json').subscribe(res => this.people = res.json());
- }
- }
- ```
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_NativeConstruct: BrowserXHR)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 createConnection
-
-
- pre.prettyprint
- code.
- createConnection(request: Request)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/XHRConnection-class.jade b/public/docs/js/latest/api/http/XHRConnection-class.jade
deleted file mode 100644
index 57c770ff62..0000000000
--- a/public/docs/js/latest/api/http/XHRConnection-class.jade
+++ /dev/null
@@ -1,90 +0,0 @@
-
-p.location-badge.
- exported from angular2/http
- defined in angular2/src/http/backends/xhr_backend.ts (line 8)
-
-:markdown
- Creates connections using `XMLHttpRequest`. Given a fully-qualified
- request, an `XHRConnection` will immediately create an `XMLHttpRequest` object and send the
- request.
-
- This class would typically not be created or interacted with directly inside applications, though
- the MockConnection
may be interacted with in tests.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(req: Request, NativeConstruct: any)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 request
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 response
-
-
- :markdown
-
- Response
- [Subject](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/subject.md)
- which emits a single Response
value on load event of `XMLHttpRequest`.
-
-
-
-
-
-
-
- .l-sub-section
- h3 readyState
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 dispose
-
-
- pre.prettyprint
- code.
- dispose()
-
- :markdown
-
- Calls abort on the underlying XMLHttpRequest.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/http/_data.json b/public/docs/js/latest/api/http/_data.json
deleted file mode 100644
index 1c2d125cd2..0000000000
--- a/public/docs/js/latest/api/http/_data.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "index" : {
- "title" : "Http",
- "intro" : "The http module provides services to perform http requests. To get started, see the Http
class."
- },
-
- "MockConnection-class" : {
- "title" : "MockConnection Class"
- },
-
- "MockBackend-class" : {
- "title" : "MockBackend Class"
- },
-
- "Request-class" : {
- "title" : "Request Class"
- },
-
- "Response-class" : {
- "title" : "Response Class"
- },
-
- "Http-class" : {
- "title" : "Http Class"
- },
-
- "XHRBackend-class" : {
- "title" : "XHRBackend Class"
- },
-
- "XHRConnection-class" : {
- "title" : "XHRConnection Class"
- },
-
- "BaseRequestOptions-class" : {
- "title" : "BaseRequestOptions Class"
- },
-
- "RequestOptions-class" : {
- "title" : "RequestOptions Class"
- },
-
- "HttpFactory-function" : {
- "title" : "HttpFactory Function"
- },
-
- "IHttp-interface" : {
- "title" : "IHttp Interface"
- },
-
- "Headers-class" : {
- "title" : "Headers Class"
- },
-
- "httpInjectables-var" : {
- "title" : "httpInjectables Var"
- }
-}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/http/httpInjectables-var.jade b/public/docs/js/latest/api/http/httpInjectables-var.jade
deleted file mode 100644
index f383e3e44c..0000000000
--- a/public/docs/js/latest/api/http/httpInjectables-var.jade
+++ /dev/null
@@ -1,25 +0,0 @@
-
-.l-main-section
- h2 httpInjectables variable
- p.location-badge.
- exported from angular2/http
- defined in angular2/http.ts (line 39)
-
- :markdown
- Provides a basic set of injectables to use the Http
service in any application.
-
- #Example
-
- ```
- import {httpInjectables, Http} from 'angular2/http';
- @Component({selector: 'http-app', appInjector: [httpInjectables]})
- @View({template: '{{data}}'})
- class MyApp {
- constructor(http:Http) {
- http.request('data.txt').subscribe(res => this.data = res.text());
- }
- }
- ```
-
-
-
diff --git a/public/docs/js/latest/api/http/index.jade b/public/docs/js/latest/api/http/index.jade
deleted file mode 100644
index f7ea3b6cda..0000000000
--- a/public/docs/js/latest/api/http/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/http.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/pipes/IterableChanges-class.jade b/public/docs/js/latest/api/pipes/IterableChanges-class.jade
deleted file mode 100644
index c170acdca2..0000000000
--- a/public/docs/js/latest/api/pipes/IterableChanges-class.jade
+++ /dev/null
@@ -1,215 +0,0 @@
-
-p.location-badge.
- exported from angular2/pipes
- defined in angular2/src/change_detection/pipes/iterable_changes.ts (line 27)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obj)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 collection
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 length
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachItem
-
-
- pre.prettyprint
- code.
- forEachItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachPreviousItem
-
-
- pre.prettyprint
- code.
- forEachPreviousItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachAddedItem
-
-
- pre.prettyprint
- code.
- forEachAddedItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachMovedItem
-
-
- pre.prettyprint
- code.
- forEachMovedItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachRemovedItem
-
-
- pre.prettyprint
- code.
- forEachRemovedItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(collection)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 check
-
-
- pre.prettyprint
- code.
- check(collection)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isDirty
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/pipes/JsonPipe-class.jade b/public/docs/js/latest/api/pipes/JsonPipe-class.jade
deleted file mode 100644
index 7fa152b7dc..0000000000
--- a/public/docs/js/latest/api/pipes/JsonPipe-class.jade
+++ /dev/null
@@ -1,80 +0,0 @@
-
-p.location-badge.
- exported from angular2/pipes
- defined in angular2/src/change_detection/pipes/json_pipe.ts (line 2)
-
-:markdown
- Implements json transforms to any object.
-
- # Example
-
- In this example we transform the user object to json.
-
- ```
- @Component({
- selector: "user-cmp"
- })
- @View({
- template: "User: {{ user | json }}"
- })
- class Username {
- user:Object
- constructor() {
- this.user = { name: "PatrickJS" };
- }
- }
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obj)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(value)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 create
-
-
- pre.prettyprint
- code.
- create(cdRef)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade b/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade
deleted file mode 100644
index 501c8aafd4..0000000000
--- a/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade
+++ /dev/null
@@ -1,174 +0,0 @@
-
-p.location-badge.
- exported from angular2/pipes
- defined in angular2/src/change_detection/pipes/keyvalue_changes.ts (line 16)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obj)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(map)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 isDirty
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachItem
-
-
- pre.prettyprint
- code.
- forEachItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachPreviousItem
-
-
- pre.prettyprint
- code.
- forEachPreviousItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachChangedItem
-
-
- pre.prettyprint
- code.
- forEachChangedItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachAddedItem
-
-
- pre.prettyprint
- code.
- forEachAddedItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forEachRemovedItem
-
-
- pre.prettyprint
- code.
- forEachRemovedItem(fn: Function)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 check
-
-
- pre.prettyprint
- code.
- check(map)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/pipes/LowerCasePipe-class.jade b/public/docs/js/latest/api/pipes/LowerCasePipe-class.jade
deleted file mode 100644
index 0e0a2c31f1..0000000000
--- a/public/docs/js/latest/api/pipes/LowerCasePipe-class.jade
+++ /dev/null
@@ -1,77 +0,0 @@
-
-p.location-badge.
- exported from angular2/pipes
- defined in angular2/src/change_detection/pipes/lowercase_pipe.ts (line 2)
-
-:markdown
- Implements lowercase transforms to text.
-
- # Example
-
- In this example we transform the user text lowercase.
-
- ```
- @Component({
- selector: "username-cmp"
- })
- @View({
- template: "Username: {{ user | lowercase }}"
- })
- class Username {
- user:string;
- }
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(str)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(value: string)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/pipes/ObservablePipe-class.jade b/public/docs/js/latest/api/pipes/ObservablePipe-class.jade
deleted file mode 100644
index cf0a51265a..0000000000
--- a/public/docs/js/latest/api/pipes/ObservablePipe-class.jade
+++ /dev/null
@@ -1,96 +0,0 @@
-
-p.location-badge.
- exported from angular2/pipes
- defined in angular2/src/change_detection/pipes/observable_pipe.ts (line 4)
-
-:markdown
- Implements async bindings to Observable.
-
- # Example
-
- In this example we bind the description observable to the DOM. The async pipe will convert an
- observable to the
- latest value it emitted. It will also request a change detection check when a new value is
- emitted.
-
- ```
- @Component({
- selector: "task-cmp",
- changeDetection: ON_PUSH
- })
- @View({
- template: "Task Description {{ description | async }}"
- })
- class Task {
- description:Observable;
- }
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_ref: ChangeDetectorRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(obs)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(obs: Observable)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/pipes/PromisePipe-class.jade b/public/docs/js/latest/api/pipes/PromisePipe-class.jade
deleted file mode 100644
index c8ea18c047..0000000000
--- a/public/docs/js/latest/api/pipes/PromisePipe-class.jade
+++ /dev/null
@@ -1,95 +0,0 @@
-
-p.location-badge.
- exported from angular2/pipes
- defined in angular2/src/change_detection/pipes/promise_pipe.ts (line 4)
-
-:markdown
- Implements async bindings to Promise.
-
- # Example
-
- In this example we bind the description promise to the DOM.
- The async pipe will convert a promise to the value with which it is resolved. It will also
- request a change detection check when the promise is resolved.
-
- ```
- @Component({
- selector: "task-cmp",
- changeDetection: ON_PUSH
- })
- @View({
- template: "Task Description {{ description | async }}"
- })
- class Task {
- description:Promise;
- }
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_ref: ChangeDetectorRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(promise)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(promise: Promise<any>)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/pipes/UpperCasePipe-class.jade b/public/docs/js/latest/api/pipes/UpperCasePipe-class.jade
deleted file mode 100644
index 66de21a1b1..0000000000
--- a/public/docs/js/latest/api/pipes/UpperCasePipe-class.jade
+++ /dev/null
@@ -1,77 +0,0 @@
-
-p.location-badge.
- exported from angular2/pipes
- defined in angular2/src/change_detection/pipes/uppercase_pipe.ts (line 2)
-
-:markdown
- Implements uppercase transforms to text.
-
- # Example
-
- In this example we transform the user text uppercase.
-
- ```
- @Component({
- selector: "username-cmp"
- })
- @View({
- template: "Username: {{ user | uppercase }}"
- })
- class Username {
- user:string;
- }
-
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 supports
-
-
- pre.prettyprint
- code.
- supports(str)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onDestroy
-
-
- pre.prettyprint
- code.
- onDestroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 transform
-
-
- pre.prettyprint
- code.
- transform(value: string)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/pipes/_data.json b/public/docs/js/latest/api/pipes/_data.json
index 8abfa86567..0539ab8bd3 100644
--- a/public/docs/js/latest/api/pipes/_data.json
+++ b/public/docs/js/latest/api/pipes/_data.json
@@ -30,5 +30,25 @@
"KeyValueChanges-class" : {
"title" : "KeyValueChanges Class"
+ },
+
+ "DatePipe-class" : {
+ "title" : "DatePipe Class"
+ },
+
+ "DecimalPipe-class" : {
+ "title" : "DecimalPipe Class"
+ },
+
+ "PercentPipe-class" : {
+ "title" : "PercentPipe Class"
+ },
+
+ "CurrencyPipe-class" : {
+ "title" : "CurrencyPipe Class"
+ },
+
+ "LimitToPipe-class" : {
+ "title" : "LimitToPipe Class"
}
}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/pipes/index.jade b/public/docs/js/latest/api/pipes/index.jade
deleted file mode 100644
index 5cc9a22de0..0000000000
--- a/public/docs/js/latest/api/pipes/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/pipes.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/router/BrowserLocation-class.jade b/public/docs/js/latest/api/router/BrowserLocation-class.jade
deleted file mode 100644
index 70c84d9797..0000000000
--- a/public/docs/js/latest/api/router/BrowserLocation-class.jade
+++ /dev/null
@@ -1,126 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/browser_location.ts (line 3)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 onPopState
-
-
- pre.prettyprint
- code.
- onPopState(fn: EventListener)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 getBaseHref
-
-
- pre.prettyprint
- code.
- getBaseHref()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- pre.prettyprint
- code.
- path()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 pushState
-
-
- pre.prettyprint
- code.
- pushState(state: any, title: string, url: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forward
-
-
- pre.prettyprint
- code.
- forward()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 back
-
-
- pre.prettyprint
- code.
- back()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/Location-class.jade b/public/docs/js/latest/api/router/Location-class.jade
deleted file mode 100644
index 9078e67741..0000000000
--- a/public/docs/js/latest/api/router/Location-class.jade
+++ /dev/null
@@ -1,143 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/location.ts (line 6)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_browserLocation: BrowserLocation, href?: string)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 path
-
-
- pre.prettyprint
- code.
- path()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 normalize
-
-
- pre.prettyprint
- code.
- normalize(url: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 normalizeAbsolutely
-
-
- pre.prettyprint
- code.
- normalizeAbsolutely(url: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 go
-
-
- pre.prettyprint
- code.
- go(url: string)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 forward
-
-
- pre.prettyprint
- code.
- forward()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 back
-
-
- pre.prettyprint
- code.
- back()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 subscribe
-
-
- pre.prettyprint
- code.
- subscribe(onNext, onThrow?, onReturn?)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/Pipeline-class.jade b/public/docs/js/latest/api/router/Pipeline-class.jade
deleted file mode 100644
index 3a5b8820d6..0000000000
--- a/public/docs/js/latest/api/router/Pipeline-class.jade
+++ /dev/null
@@ -1,56 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/pipeline.ts (line 3)
-
-:markdown
- Responsible for performing each step of navigation.
- "Steps" are conceptually similar to "middleware"
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 steps
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 process
-
-
- pre.prettyprint
- code.
- process(instruction: Instruction)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/RootRouter-class.jade b/public/docs/js/latest/api/router/RootRouter-class.jade
deleted file mode 100644
index ab3dd0fa1a..0000000000
--- a/public/docs/js/latest/api/router/RootRouter-class.jade
+++ /dev/null
@@ -1,41 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/router.ts (line 200)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(registry: RouteRegistry, pipeline: Pipeline, location: Location, hostComponent: Type)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 commit
-
-
- pre.prettyprint
- code.
- commit(instruction)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/RouteConfig-var.jade b/public/docs/js/latest/api/router/RouteConfig-var.jade
deleted file mode 100644
index fbdf78c3fd..0000000000
--- a/public/docs/js/latest/api/router/RouteConfig-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 RouteConfig variable
- p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/route_config_decorator.ts (line 4)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/router/RouteParams-class.jade b/public/docs/js/latest/api/router/RouteParams-class.jade
deleted file mode 100644
index 75ecae5763..0000000000
--- a/public/docs/js/latest/api/router/RouteParams-class.jade
+++ /dev/null
@@ -1,54 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/instruction.ts (line 9)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(params: StringMap<string, string>)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 params
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 get
-
-
- pre.prettyprint
- code.
- get(param: string)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/RouteRegistry-class.jade b/public/docs/js/latest/api/router/RouteRegistry-class.jade
deleted file mode 100644
index c7352230fb..0000000000
--- a/public/docs/js/latest/api/router/RouteRegistry-class.jade
+++ /dev/null
@@ -1,99 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/route_registry.ts (line 22)
-
-:markdown
- The RouteRegistry holds route configurations for each component in an Angular app.
- It is responsible for creating Instructions from URLs, and generating URLs based on route and
- parameters.
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 config
-
-
- pre.prettyprint
- code.
- config(parentComponent, config: StringMap<string, any>)
-
- :markdown
-
- Given a component and a configuration object, add the route to this registry
-
-
-
-
-
-
-
- .l-sub-section
- h3 configFromComponent
-
-
- pre.prettyprint
- code.
- configFromComponent(component)
-
- :markdown
-
- Reads the annotations of a component and configures the registry based on them
-
-
-
-
-
-
-
- .l-sub-section
- h3 recognize
-
-
- pre.prettyprint
- code.
- recognize(url: string, parentComponent)
-
- :markdown
-
- Given a URL and a parent component, return the most specific instruction for navigating
- the application into the state specified by the
-
-
-
-
-
-
-
- .l-sub-section
- h3 generate
-
-
- pre.prettyprint
- code.
- generate(name: string, params: StringMap<string, string>, hostComponent)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/Router-class.jade b/public/docs/js/latest/api/router/Router-class.jade
deleted file mode 100644
index 1151f82693..0000000000
--- a/public/docs/js/latest/api/router/Router-class.jade
+++ /dev/null
@@ -1,305 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/router.ts (line 9)
-
-:markdown
- # Router
- The router is responsible for mapping URLs to components.
-
- You can see the state of the router by inspecting the read-only field `router.navigating`.
- This may be useful for showing a spinner, for instance.
-
- ## Concepts
- Routers and component instances have a 1:1 correspondence.
-
- The router holds reference to a number of "outlets." An outlet is a placeholder that the
- router dynamically fills in depending on the current URL.
-
- When the router navigates from a URL, it must first recognizes it and serialize it into an
- `Instruction`.
- The router uses the `RouteRegistry` to get an `Instruction`.
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(_registry: RouteRegistry, _pipeline: Pipeline, parent: Router, hostComponent: any)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 navigating
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 lastNavigationAttempt
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 previousUrl
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 parent
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 hostComponent
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 childRouter
-
-
- pre.prettyprint
- code.
- childRouter(hostComponent: any)
-
- :markdown
-
- Constructs a child router. You probably don't need to use this unless you're writing a reusable
- component.
-
-
-
-
-
-
-
- .l-sub-section
- h3 registerOutlet
-
-
- pre.prettyprint
- code.
- registerOutlet(outlet: RouterOutlet)
-
- :markdown
-
- Register an object to notify of route changes. You probably don't need to use this unless
- you're writing a reusable component.
-
-
-
-
-
-
-
- .l-sub-section
- h3 config
-
-
- pre.prettyprint
- code.
- config(config: any)
-
- :markdown
-
- Dynamically update the routing configuration and trigger a navigation.
-
- # Usage
-
- ```
- router.config({ 'path': '/', 'component': IndexCmp});
- ```
-
- Or:
-
- ```
- router.config([
- { 'path': '/', 'component': IndexComp },
- { 'path': '/user/:id', 'component': UserComp },
- ]);
- ```
-
-
-
-
-
-
-
- .l-sub-section
- h3 navigate
-
-
- pre.prettyprint
- code.
- navigate(url: string)
-
- :markdown
-
- Navigate to a URL. Returns a promise that resolves when navigation is complete.
-
- If the given URL begins with a `/`, router will navigate absolutely.
- If the given URL does not begin with `/`, the router will navigate relative to this component.
-
-
-
-
-
-
-
- .l-sub-section
- h3 subscribe
-
-
- pre.prettyprint
- code.
- subscribe(onNext)
-
- :markdown
-
- Subscribe to URL updates from the router
-
-
-
-
-
-
-
- .l-sub-section
- h3 commit
-
-
- pre.prettyprint
- code.
- commit(instruction: Instruction)
-
- :markdown
-
- Updates this router and all descendant routers according to the given instruction
-
-
-
-
-
-
-
- .l-sub-section
- h3 deactivate
-
-
- pre.prettyprint
- code.
- deactivate()
-
- :markdown
-
- Removes the contents of this router's outlet and all descendant outlets
-
-
-
-
-
-
-
- .l-sub-section
- h3 recognize
-
-
- pre.prettyprint
- code.
- recognize(url: string)
-
- :markdown
-
- Given a URL, returns an instruction representing the component graph
-
-
-
-
-
-
-
- .l-sub-section
- h3 renavigate
-
-
- pre.prettyprint
- code.
- renavigate()
-
- :markdown
-
- Navigates to either the last URL successfully navigated to, or the last URL requested if the
- router has yet to successfully navigate.
-
-
-
-
-
-
-
- .l-sub-section
- h3 generate
-
-
- pre.prettyprint
- code.
- generate(name: string, params: StringMap<string, string>)
-
- :markdown
-
- Generate a URL from a component name and optional map of parameters. The URL is relative to the
- app's base href.
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/RouterLink-class.jade b/public/docs/js/latest/api/router/RouterLink-class.jade
deleted file mode 100644
index 14c66d240a..0000000000
--- a/public/docs/js/latest/api/router/RouterLink-class.jade
+++ /dev/null
@@ -1,100 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/router_link.ts (line 10)
-
-:markdown
- The RouterLink directive lets you link to specific parts of your app.
-
-
- Consider the following route configuration:
-
- ```
- @RouteConfig({
- path: '/user', component: UserCmp, as: 'user'
- });
- class MyComp {}
- ```
-
- When linking to a route, you can write:
-
- ```
- link to user component
- ```
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(elementRef: ElementRef, _router: Router, _location: Location)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 route
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 params
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onClick
-
-
- pre.prettyprint
- code.
- onClick()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 onAllChangesDone
-
-
- pre.prettyprint
- code.
- onAllChangesDone()
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/RouterOutlet-class.jade b/public/docs/js/latest/api/router/RouterOutlet-class.jade
deleted file mode 100644
index 82f5d8f925..0000000000
--- a/public/docs/js/latest/api/router/RouterOutlet-class.jade
+++ /dev/null
@@ -1,83 +0,0 @@
-
-p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/router_outlet.ts (line 9)
-
-:markdown
- A router outlet is a placeholder that Angular dynamically fills based on the application's route.
-
- ## Use
-
- ```
-
- ```
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(elementRef: ElementRef, _loader: DynamicComponentLoader, _parentRouter:Router, _injector: Injector, nameAttr: string)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 activate
-
-
- pre.prettyprint
- code.
- activate(instruction: Instruction)
-
- :markdown
-
- Given an instruction, update the contents of this outlet.
-
-
-
-
-
-
-
- .l-sub-section
- h3 deactivate
-
-
- pre.prettyprint
- code.
- deactivate()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 canDeactivate
-
-
- pre.prettyprint
- code.
- canDeactivate(instruction: Instruction)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/router/_data.json b/public/docs/js/latest/api/router/_data.json
index 3f739d7ad9..068e1d401c 100644
--- a/public/docs/js/latest/api/router/_data.json
+++ b/public/docs/js/latest/api/router/_data.json
@@ -28,30 +28,78 @@
"title" : "RouteRegistry Class"
},
- "BrowserLocation-class" : {
- "title" : "BrowserLocation Class"
+ "LocationStrategy-class" : {
+ "title" : "LocationStrategy Class"
+ },
+
+ "HashLocationStrategy-class" : {
+ "title" : "HashLocationStrategy Class"
+ },
+
+ "HTML5LocationStrategy-class" : {
+ "title" : "HTML5LocationStrategy Class"
},
"Location-class" : {
"title" : "Location Class"
},
- "appBaseHrefToken-const" : {
- "title" : "appBaseHrefToken Const"
+ "appBaseHrefToken-var" : {
+ "title" : "appBaseHrefToken Var"
},
"Pipeline-class" : {
"title" : "Pipeline Class"
},
- "routerDirectives-const" : {
- "title" : "routerDirectives Const"
+ "OnActivate-interface" : {
+ "title" : "OnActivate Interface"
+ },
+
+ "OnDeactivate-interface" : {
+ "title" : "OnDeactivate Interface"
+ },
+
+ "OnReuse-interface" : {
+ "title" : "OnReuse Interface"
+ },
+
+ "CanDeactivate-interface" : {
+ "title" : "CanDeactivate Interface"
+ },
+
+ "CanReuse-interface" : {
+ "title" : "CanReuse Interface"
+ },
+
+ "CanActivate-var" : {
+ "title" : "CanActivate Var"
+ },
+
+ "routerDirectives-var" : {
+ "title" : "routerDirectives Var"
},
"routerInjectables-var" : {
"title" : "routerInjectables Var"
},
+ "Route-class" : {
+ "title" : "Route Class"
+ },
+
+ "Redirect-class" : {
+ "title" : "Redirect Class"
+ },
+
+ "AsyncRoute-class" : {
+ "title" : "AsyncRoute Class"
+ },
+
+ "RouteDefinition-interface" : {
+ "title" : "RouteDefinition Interface"
+ },
+
"RouteConfig-var" : {
"title" : "RouteConfig Var"
}
diff --git a/public/docs/js/latest/api/router/appBaseHrefToken-const.jade b/public/docs/js/latest/api/router/appBaseHrefToken-const.jade
deleted file mode 100644
index 474b8cf6ff..0000000000
--- a/public/docs/js/latest/api/router/appBaseHrefToken-const.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 appBaseHrefToken variable
- p.location-badge.
- exported from angular2/router
- defined in angular2/src/router/location.ts (line 6)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/router/index.jade b/public/docs/js/latest/api/router/index.jade
deleted file mode 100644
index d897e54e17..0000000000
--- a/public/docs/js/latest/api/router/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/router.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/router/routerDirectives-const.jade b/public/docs/js/latest/api/router/routerDirectives-const.jade
deleted file mode 100644
index e51e4615ab..0000000000
--- a/public/docs/js/latest/api/router/routerDirectives-const.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 routerDirectives variable
- p.location-badge.
- exported from angular2/router
- defined in angular2/router.ts (line 31)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/router/routerInjectables-var.jade b/public/docs/js/latest/api/router/routerInjectables-var.jade
deleted file mode 100644
index 2a2d11eea1..0000000000
--- a/public/docs/js/latest/api/router/routerInjectables-var.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 routerInjectables variable
- p.location-badge.
- exported from angular2/router
- defined in angular2/router.ts (line 33)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade b/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade
deleted file mode 100644
index d9510a98c1..0000000000
--- a/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade
+++ /dev/null
@@ -1,41 +0,0 @@
-
-p.location-badge.
- exported from angular2/test
- defined in angular2/src/test_lib/test_injector.ts (line 169)
-
-:markdown
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(tokens: List<any>, fn: Function)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 execute
-
-
- pre.prettyprint
- code.
- execute(injector: Injector)
-
- :markdown
-
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/test/TestBed-class.jade b/public/docs/js/latest/api/test/TestBed-class.jade
deleted file mode 100644
index d68636aebd..0000000000
--- a/public/docs/js/latest/api/test/TestBed-class.jade
+++ /dev/null
@@ -1,96 +0,0 @@
-
-p.location-badge.
- exported from angular2/test
- defined in angular2/src/test_lib/test_bed.ts (line 22)
-
-:markdown
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(injector: Injector)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 overrideView
-
-
- pre.prettyprint
- code.
- overrideView(component: Type, template: View)
-
- :markdown
-
- Overrides the View
of a Component
.
-
-
-
-
-
-
- .l-sub-section
- h3 setInlineTemplate
-
-
- pre.prettyprint
- code.
- setInlineTemplate(component: Type, html: string)
-
- :markdown
-
- Overrides only the html of a Component
.
- All the other propoerties of the component's View
are preserved.
-
-
-
-
-
-
- .l-sub-section
- h3 overrideDirective
-
-
- pre.prettyprint
- code.
- overrideDirective(component: Type, from: Type, to: Type)
-
- :markdown
-
- Overrides the directives from the component View
.
-
-
-
-
-
-
- .l-sub-section
- h3 createView
-
-
- pre.prettyprint
- code.
- createView(component: Type, {context = null, html = null}?: {context?: any,
- html?: string})
-
- :markdown
-
- Creates an `AppView` for the given component.
-
- Only either a component or a context needs to be specified but both can be provided for
- advanced use cases (ie subclassing the context).
-
-
-
-
-
diff --git a/public/docs/js/latest/api/test/ViewProxy-class.jade b/public/docs/js/latest/api/test/ViewProxy-class.jade
deleted file mode 100644
index d847ff29ee..0000000000
--- a/public/docs/js/latest/api/test/ViewProxy-class.jade
+++ /dev/null
@@ -1,116 +0,0 @@
-
-p.location-badge.
- exported from angular2/test
- defined in angular2/src/test_lib/test_bed.ts (line 106)
-
-:markdown
- Proxy to `AppView` return by `createView` in TestBed
which offers a high level API for
- tests.
- TODO(juliemr): Deprecate in favor of TestElement
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(componentRef: ComponentRef)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 context
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 rootNodes
-
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 detectChanges
-
-
- pre.prettyprint
- code.
- detectChanges()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 querySelector
-
-
- pre.prettyprint
- code.
- querySelector(selector)
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 destroy
-
-
- pre.prettyprint
- code.
- destroy()
-
- :markdown
-
-
-
-
-
-
-
-
- .l-sub-section
- h3 rawView
-
-
- :markdown
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/test/_data.json b/public/docs/js/latest/api/test/_data.json
deleted file mode 100644
index 7017d3efb3..0000000000
--- a/public/docs/js/latest/api/test/_data.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "index" : {
- "title" : "Test",
- "intro" : "This module is used for writing tests for applications written in Angular.This module is not included in the `angular2` module; you must import the test module explicitly."
- },
-
- "TestBed-class" : {
- "title" : "TestBed Class"
- },
-
- "ViewProxy-class" : {
- "title" : "ViewProxy Class"
- },
-
- "createTestInjector-function" : {
- "title" : "createTestInjector Function"
- },
-
- "inject-function" : {
- "title" : "inject Function"
- },
-
- "FunctionWithParamTokens-class" : {
- "title" : "FunctionWithParamTokens Class"
- }
-}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/test/createTestInjector-function.jade b/public/docs/js/latest/api/test/createTestInjector-function.jade
deleted file mode 100644
index 43ec152462..0000000000
--- a/public/docs/js/latest/api/test/createTestInjector-function.jade
+++ /dev/null
@@ -1,19 +0,0 @@
-
-.l-main-section
- h2(class="function export") createTestInjector
-
-
- pre.prettyprint
- code.
- createTestInjector(bindings: List<Type | Binding | List<any>>) : Injector
-
-
- p.location-badge.
- exported from angular2/test
- defined in angular2/src/test_lib/test_injector.ts (line 130)
-
- :markdown
-
-
-
-
diff --git a/public/docs/js/latest/api/test/index.jade b/public/docs/js/latest/api/test/index.jade
deleted file mode 100644
index 83a940e1af..0000000000
--- a/public/docs/js/latest/api/test/index.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-p.location-badge.
- defined in angular2/test.ts (line 1)
-
-ul
- for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
- if slug != 'index'
- url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
-
- li.c8
- != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
-
diff --git a/public/docs/js/latest/api/test/inject-function.jade b/public/docs/js/latest/api/test/inject-function.jade
deleted file mode 100644
index 890bb5ac7a..0000000000
--- a/public/docs/js/latest/api/test/inject-function.jade
+++ /dev/null
@@ -1,41 +0,0 @@
-
-.l-main-section
- h2(class="function export") inject
-
-
- pre.prettyprint
- code.
- inject(tokens: List<any>, fn: Function) : FunctionWithParamTokens
-
-
- p.location-badge.
- exported from angular2/test
- defined in angular2/src/test_lib/test_injector.ts (line 135)
-
- :markdown
- Allows injecting dependencies in `beforeEach()` and `it()`.
-
- Example:
-
- ```
- beforeEach(inject([Dependency, AClass], (dep, object) => {
- // some code that uses `dep` and `object`
- // ...
- }));
-
- it('...', inject([AClass, AsyncTestCompleter], (object, async) => {
- object.doSomething().then(() => {
- expect(...);
- async.done();
- });
- })
- ```
-
- Notes:
- - injecting an `AsyncTestCompleter` allow completing async tests - this is the equivalent of
- adding a `done` parameter in Jasmine,
- - inject is currently a function because of some Traceur limitation the syntax should eventually
- becomes `it('...', @Inject (object: AClass, async: AsyncTestCompleter) => { ... });`
-
-
-