update to api docs

This commit is contained in:
Alex Wolfe 2015-04-21 23:34:30 -07:00
parent b084b3a434
commit 09307dec5f
85 changed files with 332 additions and 317 deletions

View File

@ -0,0 +1 @@
{}

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -65,7 +65,6 @@ p.
code.
constructor()
:markdown

View File

@ -39,7 +39,6 @@ p.
code.
constructor(attributeName)
:markdown
@ -50,7 +49,6 @@ p.
h3 attributeName
:markdown
@ -62,7 +60,6 @@ p.
h3 token
:markdown

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L756">angular2/src/core/annotations/annotations.js (line 756)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L755">angular2/src/core/annotations/annotations.js (line 755)</a>
:markdown
Directive that attaches behavior to DOM elements.
@ -85,7 +85,6 @@ p.
compileChildren:boolean
}={})
:markdown
@ -96,7 +95,6 @@ p.
h3 compileChildren
:markdown
If set to true the compiler does not compile the children of this directive.

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L661">angular2/src/core/annotations/annotations.js (line 661)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L660">angular2/src/core/annotations/annotations.js (line 660)</a>
:markdown
Directive used for dynamically loading components.
@ -72,7 +72,6 @@ p.
lifecycle:List
}={})
:markdown
@ -83,7 +82,6 @@ p.
h3 injectables
:markdown
Same as `injectables` in the <a href="angular2/annotations/Component-class"><code>Component</code></a>.

View File

@ -52,7 +52,6 @@ p.
code.
constructor()
:markdown

View File

@ -20,7 +20,6 @@ p.
code.
constructor(propName)
:markdown
@ -31,7 +30,6 @@ p.
h3 propName
:markdown
@ -43,7 +41,6 @@ p.
h3 token
:markdown

View File

@ -18,7 +18,6 @@ p.
code.
constructor(directive)
:markdown
@ -29,7 +28,6 @@ p.
h3 directive
:markdown

View File

@ -44,14 +44,15 @@ p.
constructor({
templateUrl,
template,
directives
directives,
renderer
}: {
templateUrl: string,
template: string,
directives: List&lt;Type&gt;
directives: List&lt;Type&gt;,
renderer: string
})
:markdown
@ -62,7 +63,6 @@ p.
h3 directives
:markdown
Specifies a list of directives that can be used within a template.
@ -89,11 +89,22 @@ p.
.l-sub-section
h3 renderer
:markdown
Specify a custom renderer for this View.
If this is set, neither `template`, `templateURL` nor `directives` are used.
.l-sub-section
h3 template
:markdown
Specifies an inline template for an angular component.
@ -107,7 +118,6 @@ p.
h3 templateUrl
:markdown
Specifies a template URL for an angular component.

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L885">angular2/src/core/annotations/annotations.js (line 885)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L884">angular2/src/core/annotations/annotations.js (line 884)</a>
:markdown
Directive that controls the instantiation, destruction, and positioning of inline template elements.
@ -115,7 +115,6 @@ p.
lifecycle:List
}={})
:markdown

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L522">angular2/src/core/annotations/annotations.js (line 522)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L521">angular2/src/core/annotations/annotations.js (line 521)</a>
:markdown
Declare reusable UI building blocks for an application.
@ -62,7 +62,6 @@ p.
changeDetection:string
}={})
:markdown
@ -73,7 +72,6 @@ p.
h3 changeDetection
:markdown
Defines the used change detection strategy.
@ -91,7 +89,6 @@ p.
h3 injectables
:markdown
Defines the set of injectable objects that are visible to a Component and its children.

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L241">angular2/src/core/annotations/annotations.js (line 241)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L240">angular2/src/core/annotations/annotations.js (line 240)</a>
:markdown
Directives allow you to attach behavior to elements in the DOM.
@ -118,7 +118,6 @@ p.
Here, the constructor declares a parameter, `someService`, and injects the `SomeService` type from the parent
component's injector.
```
@Decorator({ selector: '[my-directive]' })
class MyDirective {
@ -256,7 +255,6 @@ p.
lifecycle:List
}={})
:markdown
@ -267,7 +265,6 @@ p.
h3 events
:markdown
Enumerates the set of emitted events.
@ -275,17 +272,17 @@ p.
```
@Component({
events: ['status-change']
events: ['statusChange']
})
class TaskComponent {
statusChange:EventEmitter;
constructor() {
this.complete = new EventEmitter();
this.statusChange = new EventEmitter();
}
onComplete() {
this.statusChange.next("completed");
this.statusChange.next('completed');
}
}
```
@ -302,7 +299,6 @@ p.
code.
hasLifecycleHook(hook:string)
:markdown
Returns true if a directive participates in a given `LifecycleEvent`.
@ -316,7 +312,6 @@ p.
h3 hostListeners
:markdown
Specifies which DOM hostListeners a directive listens to.
@ -378,7 +373,6 @@ p.
h3 lifecycle
:markdown
Specifies a set of lifecycle hostListeners in which the directive participates.
@ -392,7 +386,6 @@ p.
h3 properties
:markdown
Enumerates the set of properties that accept data binding for a directive.
@ -490,7 +483,6 @@ p.
h3 selector
:markdown
The CSS selector that triggers the instantiation of a directive.

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -34,7 +34,6 @@ p.
code.
createProtoChangeDetector(name:string, changeControlStrategy:string=DEFAULT)
:markdown

View File

@ -19,7 +19,6 @@ p.
code.
constructor(cd:ChangeDetector)
:markdown
@ -34,7 +33,6 @@ p.
code.
detach()
:markdown
Detaches the change detector from the change detector tree.
@ -52,7 +50,6 @@ p.
code.
reattach()
:markdown
Reattach the change detector to the change detector tree.
@ -71,7 +68,6 @@ p.
code.
requestCheck()
:markdown
Request to check all ON_PUSH ancestors.

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/change_detection">angular2/change_detection</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L39">angular2/src/change_detection/change_detection.js (line 39)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L51">angular2/src/change_detection/change_detection.js (line 51)</a>
:markdown
@ -15,7 +15,6 @@ p.
code.
constructor(registry:PipeRegistry)
:markdown
@ -30,7 +29,6 @@ p.
code.
createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT)
:markdown
@ -42,7 +40,6 @@ p.
h3 registry
:markdown

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/change_detection">angular2/change_detection</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L56">angular2/src/change_detection/change_detection.js (line 56)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L68">angular2/src/change_detection/change_detection.js (line 68)</a>
:markdown
@ -15,7 +15,6 @@ p.
code.
constructor(registry:PipeRegistry)
:markdown
@ -30,7 +29,6 @@ p.
code.
createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT)
:markdown
@ -42,7 +40,6 @@ p.
h3 registry
:markdown

View File

@ -35,7 +35,6 @@ p.
code.
constructor(exceptionHandler:ExceptionHandler, changeDetector:ChangeDetector = null, enforceNoNewChanges:boolean = false)
:markdown
@ -50,7 +49,6 @@ p.
code.
registerWith(zone:VmTurnZone, changeDetector:ChangeDetector = null)
:markdown
@ -66,7 +64,6 @@ p.
code.
tick()
:markdown
Invoke this method to explicitly process change detection and its side-effects.

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -40,7 +40,6 @@ p.
code.
call(error, stackTrace = null, reason = null)
:markdown

View File

@ -19,7 +19,6 @@ p.
code.
constructor(view, boundElementIndex)
:markdown
@ -30,7 +29,6 @@ p.
h3 domElement
:markdown
@ -46,7 +44,6 @@ p.
code.
getAttribute(name:string)
:markdown

View File

@ -22,7 +22,6 @@ p.
code.
constructor({enableLongStackTrace}, [object Object])
:markdown
Associates with this
@ -41,7 +40,6 @@ p.
code.
initCallbacks({onTurnStart, onTurnDone, onScheduleMicrotask, onErrorHandler} = {}, [object Object], [object Object], [object Object], [object Object])
:markdown
Initializes the zone hooks.
@ -58,7 +56,6 @@ p.
code.
run(fn)
:markdown
Runs `fn` in the inner zone and returns whatever it returns.
@ -85,7 +82,6 @@ p.
code.
runOutsideAngular(fn)
:markdown
Runs `fn` in the outer zone and returns whatever it returns.

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -35,7 +35,6 @@ p.
deps
})
:markdown
@ -46,7 +45,6 @@ p.
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.
@ -76,7 +74,6 @@ p.
code.
resolve()
:markdown
Converts the <a href="angular2/di/Binding-class"><code>Binding</code></a> into <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>.
@ -90,7 +87,6 @@ p.
h3 toAlias
:markdown
Binds a key to the alias for an existing key.
@ -131,7 +127,6 @@ p.
h3 toAsyncFactory
:markdown
Binds a key to a function which computes the value asynchronously.
@ -163,7 +158,6 @@ p.
h3 toClass
:markdown
Binds an interface to an implementation / subclass.
@ -201,7 +195,6 @@ p.
h3 toFactory
:markdown
Binds a key to a function which computes the value.
@ -226,7 +219,6 @@ p.
h3 toValue
:markdown
Binds a key to a value.
@ -248,7 +240,6 @@ p.
h3 token
:markdown
Token used when retrieving this binding. Usually the `Type`.

View File

@ -16,7 +16,6 @@ p.
code.
constructor(token)
:markdown
@ -31,7 +30,6 @@ p.
code.
toAlias(aliasToken)
:markdown
Binds a key to the alias for an existing key.
@ -76,7 +74,6 @@ p.
code.
toAsyncFactory(factoryFunction:Function, dependencies:List = null)
:markdown
Binds a key to a function which computes the value asynchronously.
@ -111,7 +108,6 @@ p.
code.
toClass(type:Type)
:markdown
Binds an interface to an implementation / subclass.
@ -153,7 +149,6 @@ p.
code.
toFactory(factoryFunction:Function, dependencies:List = null)
:markdown
Binds a key to a function which computes the value.
@ -181,7 +176,6 @@ p.
code.
toValue(value)
:markdown
Binds a key to a value.
@ -203,7 +197,6 @@ p.
h3 token
:markdown

View File

@ -49,7 +49,6 @@ p.
code.
constructor(bindings:List&lt;ResolvedBinding&gt;, parent:Injector, defaultBindings:boolean, [object Object], [object Object], [object Object])
:markdown
@ -64,7 +63,6 @@ p.
code.
asyncGet(token, [object Object])
:markdown
Retrieves an instance from the injector asynchronously. Used with asynchronous bindings.
@ -81,7 +79,6 @@ p.
code.
createChildFromResolved(bindings:List&lt;ResolvedBinding&gt;, [object Object])
:markdown
Creates a child injector and loads a new set of <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>s into it.
@ -98,7 +95,6 @@ p.
code.
fromResolvedBindings(bindings:List&lt;ResolvedBinding&gt;, {defaultBindings=false}={}, [object Object], [object Object])
:markdown
Creates an injector from previously resolved bindings. This bypasses resolution and flattening. This API is the
recommended way to construct injectors in performance-sensitive parts.
@ -116,7 +112,6 @@ p.
code.
get(token, [object Object])
:markdown
Retrieves an instance from the injector.
@ -133,7 +128,6 @@ p.
code.
getOptional(token, [object Object])
:markdown
Retrieves an instance from the injector.
@ -150,7 +144,6 @@ p.
code.
resolve(bindings:List, [object Object])
:markdown
Turns a list of binding definitions into an internal resolved list of resolved bindings.
@ -171,7 +164,6 @@ p.
code.
resolveAndCreate(bindings:List, {defaultBindings=false}={}, [object Object], [object Object])
:markdown
Resolves bindings and creates an injector based on those bindings. This function is slower than the
corresponding `fromResolvedBindings` because it needs to resolve bindings first. See `resolve` for the
@ -192,7 +184,6 @@ p.
code.
resolveAndCreateChild(bindings:List, [object Object])
:markdown
Creates a child injector and loads a new set of bindings into it.

View File

@ -23,7 +23,6 @@ p.
code.
constructor(token, id)
:markdown
@ -38,7 +37,6 @@ p.
code.
get(token)
:markdown
Retrieves a `Key` for a token.
@ -50,7 +48,6 @@ p.
h3 id
:markdown
@ -62,7 +59,6 @@ p.
h3 metadata
:markdown
@ -74,7 +70,6 @@ p.
h3 numberOfKeys
:markdown
@ -86,7 +81,6 @@ p.
h3 token
:markdown

View File

@ -19,7 +19,6 @@ p.
code.
constructor(key:Key, factory:Function, dependencies:List&lt;Dependency&gt;, providedAsPromise:boolean)
:markdown
@ -30,7 +29,6 @@ p.
h3 dependencies
:markdown
Arguments (dependencies) to the `factory` function.
@ -42,7 +40,6 @@ p.
h3 factory
:markdown
Factory function which can return an instance of an object represented by a key.
@ -54,7 +51,6 @@ p.
h3 key
:markdown
A key, usually a `Type`.
@ -66,7 +62,6 @@ p.
h3 providedAsPromise
:markdown
Specifies whether the `factory` function returns a `Promise`.

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -38,7 +38,6 @@ p.
code.
constructor()
:markdown
@ -49,7 +48,6 @@ p.
h3 token
:markdown

View File

@ -22,7 +22,6 @@ p.
code.
constructor(token)
:markdown
@ -33,7 +32,6 @@ p.
h3 token
:markdown

View File

@ -24,7 +24,6 @@ p.
code.
constructor(token)
:markdown
@ -35,7 +34,6 @@ p.
h3 token
:markdown

View File

@ -24,7 +24,6 @@ p.
code.
constructor(token)
:markdown
@ -35,7 +34,6 @@ p.
h3 token
:markdown

View File

@ -25,7 +25,6 @@ p.
code.
constructor()
:markdown

View File

@ -25,7 +25,6 @@ p.
code.
constructor()
:markdown

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -16,7 +16,6 @@ p.
code.
constructor(key, constructResolvingMessage:Function)
:markdown
@ -31,7 +30,6 @@ p.
code.
addKey(key)
:markdown
@ -43,7 +41,6 @@ p.
h3 constructResolvingMessage
:markdown
@ -55,7 +52,6 @@ p.
h3 keys
:markdown
@ -67,7 +63,6 @@ p.
h3 message
:markdown
@ -83,7 +78,6 @@ p.
code.
toString()
:markdown

View File

@ -35,7 +35,6 @@ p.
code.
constructor(key)
:markdown

View File

@ -29,7 +29,6 @@ p.
code.
constructor(key)
:markdown

View File

@ -17,11 +17,32 @@ p.
pre.prettyprint
code.
constructor(originalException, key)
constructor(cause, key)
:markdown
.l-sub-section
h3 cause
:markdown
.l-sub-section
h3 causeKey
:markdown

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/di_errors">angular2/di_errors</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L157">angular2/src/di/exceptions.js (line 157)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L161">angular2/src/di/exceptions.js (line 161)</a>
:markdown
Thrown when an object other then <a href="angular2/di/Binding-class"><code>Binding</code></a> (or `Type`) is passed to <a href="angular2/di/Injector-class"><code>Injector</code></a> creation.
@ -16,7 +16,6 @@ p.
code.
constructor(binding)
:markdown
@ -27,7 +26,6 @@ p.
h3 message
:markdown
@ -43,7 +41,6 @@ p.
code.
toString()
:markdown

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/di_errors">angular2/di_errors</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L177">angular2/src/di/exceptions.js (line 177)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L181">angular2/src/di/exceptions.js (line 181)</a>
:markdown
Thrown when the class has no annotation information.
@ -19,7 +19,6 @@ p.
code.
constructor(typeOrFunc)
:markdown
@ -30,7 +29,6 @@ p.
h3 message
:markdown
@ -46,7 +44,6 @@ p.
code.
toString()
:markdown

View File

@ -17,7 +17,6 @@ p.
code.
constructor(key)
:markdown

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -43,7 +43,6 @@ p.
code.
constructor(viewContainer:ViewContainer)
:markdown
@ -58,7 +57,6 @@ p.
code.
bulkInsert(tuples, viewContainer)
:markdown
@ -74,7 +72,6 @@ p.
code.
bulkRemove(tuples, viewContainer)
:markdown
@ -90,7 +87,6 @@ p.
code.
iterableChanges(changes)
:markdown
@ -106,7 +102,6 @@ p.
code.
perViewChange(view, record)
:markdown
@ -118,7 +113,6 @@ p.
h3 viewContainer
:markdown

View File

@ -34,7 +34,6 @@ p.
code.
constructor(viewContainer: ViewContainer)
:markdown
@ -49,7 +48,6 @@ p.
code.
condition(newCondition)
:markdown
@ -61,7 +59,6 @@ p.
h3 prevCondition
:markdown
@ -73,7 +70,6 @@ p.
h3 viewContainer
:markdown

View File

@ -38,7 +38,6 @@ p.
code.
constructor()
:markdown
@ -53,7 +52,6 @@ p.
code.
value(value)
:markdown

View File

@ -24,7 +24,6 @@ p.
code.
constructor(viewContainer: ViewContainer, sswitch: Switch)
:markdown

View File

@ -28,7 +28,6 @@ p.
code.
constructor(viewContainer: ViewContainer, sswitch: Switch)
:markdown
@ -43,7 +42,6 @@ p.
code.
when(value)
:markdown

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -22,7 +22,6 @@ p.
code.
constructor(cd:ControlDirective, setCheckedProperty:Function)
:markdown
@ -33,7 +32,6 @@ p.
h3 onChange
:markdown
@ -49,7 +47,6 @@ p.
code.
writeValue(value)
:markdown

View File

@ -19,7 +19,6 @@ p.
code.
constructor(value:any, validator:Function = Validators.nullValidator)
:markdown
@ -34,7 +33,6 @@ p.
code.
updateValue(value:any)
:markdown

View File

@ -24,7 +24,6 @@ p.
code.
constructor(controls:List&lt;AbstractControl&gt;, validator:Function = Validators.array)
:markdown
@ -39,7 +38,6 @@ p.
code.
at(index:number)
:markdown
@ -51,7 +49,6 @@ p.
h3 controls
:markdown
@ -67,7 +64,6 @@ p.
code.
insert(index:number, control:AbstractControl)
:markdown
@ -79,7 +75,6 @@ p.
h3 length
:markdown
@ -95,7 +90,6 @@ p.
code.
push(control:AbstractControl)
:markdown
@ -111,7 +105,6 @@ p.
code.
removeAt(index:number)
:markdown

View File

@ -41,7 +41,6 @@ p.
code.
constructor(groupDirective:ControlGroupDirective, valueAccessor:DefaultValueAccessor)
:markdown
@ -52,7 +51,6 @@ p.
h3 controlOrName
:markdown
@ -68,7 +66,6 @@ p.
code.
onChange(_)
:markdown
@ -80,7 +77,6 @@ p.
h3 validator
:markdown
@ -92,7 +88,6 @@ p.
h3 valueAccessor
:markdown

View File

@ -24,7 +24,6 @@ p.
code.
constructor(controls:StringMap, optionals:StringMap = null, validator:Function = Validators.group)
:markdown
@ -39,7 +38,6 @@ p.
code.
contains(controlName:string)
:markdown
@ -51,7 +49,6 @@ p.
h3 controls
:markdown
@ -67,7 +64,6 @@ p.
code.
exclude(controlName:string)
:markdown
@ -83,7 +79,6 @@ p.
code.
include(controlName:string)
:markdown

View File

@ -51,7 +51,6 @@ p.
code.
constructor(groupDirective:ControlGroupDirective)
:markdown
@ -66,7 +65,6 @@ p.
code.
addDirective(c:ControlDirective)
:markdown
@ -82,7 +80,6 @@ p.
code.
controlGroup(controlGroup)
:markdown
@ -98,7 +95,6 @@ p.
code.
findControl(name:string)
:markdown

View File

@ -23,7 +23,6 @@ p.
code.
constructor(setValueProperty:Function)
:markdown
@ -34,7 +33,6 @@ p.
h3 onChange
:markdown
@ -50,7 +48,6 @@ p.
code.
writeValue(value)
:markdown

View File

@ -32,7 +32,6 @@ p.
code.
array(controlsConfig:List, validator:Function = null)
:markdown
@ -48,7 +47,6 @@ p.
code.
control(value, validator:Function = null)
:markdown
@ -64,7 +62,6 @@ p.
code.
group(controlsConfig, extra = null)
:markdown

View File

@ -22,7 +22,6 @@ p.
code.
array(c:modelModule.ControlArray)
:markdown
@ -38,7 +37,6 @@ p.
code.
compose(validators:List&lt;Function&gt;)
:markdown
@ -54,7 +52,6 @@ p.
code.
group(c:modelModule.ControlGroup)
:markdown
@ -70,7 +67,6 @@ p.
code.
nullValidator(c:any)
:markdown
@ -86,7 +82,6 @@ p.
code.
required(c:modelModule.Control)
:markdown

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -0,0 +1,87 @@
p.
<span class="location-badge">exported from <a href="/angular2/pipes">angular2/pipes</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/async_pipe.js#L29">angular2/src/change_detection/pipes/async_pipe.js (line 29)</a>
: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({
inline: "Task Description {{description|async}}"
})
class Task {
description:Observable<string>;
}
```
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(ref:ChangeDetectorRef)
:markdown
.l-sub-section
h3 onDestroy
pre.prettyprint
code.
onDestroy()
:markdown
.l-sub-section
h3 supports
pre.prettyprint
code.
supports(obs)
:markdown
.l-sub-section
h3 transform
pre.prettyprint
code.
transform(obs:Observable)
:markdown

View File

@ -0,0 +1,39 @@
p.
<span class="location-badge">exported from <a href="/angular2/pipes">angular2/pipes</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/async_pipe.js#L103">angular2/src/change_detection/pipes/async_pipe.js (line 103)</a>
:markdown
Provides a factory for [AsyncPipe].
.l-main-section
h2 Members
.l-sub-section
h3 create
pre.prettyprint
code.
create(cdRef)
:markdown
.l-sub-section
h3 supports
pre.prettyprint
code.
supports(obs)
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
constructor(item)
:markdown
@ -26,7 +25,6 @@ p.
h3 currentIndex
:markdown
@ -38,7 +36,6 @@ p.
h3 item
:markdown
@ -50,7 +47,6 @@ p.
h3 previousIndex
:markdown
@ -66,7 +62,6 @@ p.
code.
toString()
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
constructor()
:markdown
@ -30,7 +29,6 @@ p.
code.
check(collection)
:markdown
@ -42,7 +40,6 @@ p.
h3 collection
:markdown
@ -58,7 +55,6 @@ p.
code.
forEachAddedItem(fn:Function)
:markdown
@ -74,7 +70,6 @@ p.
code.
forEachItem(fn:Function)
:markdown
@ -90,7 +85,6 @@ p.
code.
forEachMovedItem(fn:Function)
:markdown
@ -106,7 +100,6 @@ p.
code.
forEachPreviousItem(fn:Function)
:markdown
@ -122,7 +115,6 @@ p.
code.
forEachRemovedItem(fn:Function)
:markdown
@ -134,7 +126,6 @@ p.
h3 isDirty
:markdown
@ -146,7 +137,6 @@ p.
h3 length
:markdown
@ -162,7 +152,6 @@ p.
code.
supports(obj)
:markdown
@ -178,7 +167,6 @@ p.
code.
supportsObj(obj)
:markdown
@ -194,7 +182,6 @@ p.
code.
toString()
:markdown
@ -210,7 +197,6 @@ p.
code.
transform(collection)
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
constructor(key)
:markdown
@ -26,7 +25,6 @@ p.
h3 currentValue
:markdown
@ -38,7 +36,6 @@ p.
h3 key
:markdown
@ -50,7 +47,6 @@ p.
h3 previousValue
:markdown
@ -66,7 +62,6 @@ p.
code.
toString()
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
constructor()
:markdown
@ -30,7 +29,6 @@ p.
code.
check(map)
:markdown
@ -46,7 +44,6 @@ p.
code.
forEachAddedItem(fn:Function)
:markdown
@ -62,7 +59,6 @@ p.
code.
forEachChangedItem(fn:Function)
:markdown
@ -78,7 +74,6 @@ p.
code.
forEachItem(fn:Function)
:markdown
@ -94,7 +89,6 @@ p.
code.
forEachPreviousItem(fn:Function)
:markdown
@ -110,7 +104,6 @@ p.
code.
forEachRemovedItem(fn:Function)
:markdown
@ -122,7 +115,6 @@ p.
h3 isDirty
:markdown
@ -138,7 +130,6 @@ p.
code.
supports(obj)
:markdown
@ -154,7 +145,6 @@ p.
code.
supportsObj(obj)
:markdown
@ -170,7 +160,6 @@ p.
code.
toString()
:markdown
@ -186,7 +175,6 @@ p.
code.
transform(map)
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
create(cdRef)
:markdown
@ -31,7 +30,6 @@ p.
code.
supports(obj)
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
constructor()
:markdown
@ -26,7 +25,6 @@ p.
h3 called
:markdown
@ -42,7 +40,6 @@ p.
code.
supports(obj)
:markdown
@ -58,7 +55,6 @@ p.
code.
supportsObj(obj)
:markdown
@ -74,7 +70,6 @@ p.
code.
transform(value)
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
create(cdRef)
:markdown
@ -31,7 +30,6 @@ p.
code.
supports(obj)
:markdown

View File

@ -32,7 +32,6 @@ p.
code.
onDestroy()
:markdown
@ -48,7 +47,6 @@ p.
code.
supports(obj)
:markdown
@ -64,7 +62,6 @@ p.
code.
transform(value:any)
:markdown

View File

@ -7,6 +7,18 @@
"title" : "iterableDiff Var"
},
"async-var" : {
"title" : "async Var"
},
"AsyncPipe-class" : {
"title" : "AsyncPipe Class"
},
"AsyncPipeFactory-class" : {
"title" : "AsyncPipeFactory Class"
},
"IterableChanges-class" : {
"title" : "IterableChanges Class"
},

View File

@ -0,0 +1,9 @@
.l-main-section
h2 async <span class="type">variable</span>
p(class="module") exported from <a href="/angular2/pipes">angular2/pipes</a>
:markdown
Async binding to such types as Observable.

View File

@ -7,6 +7,10 @@
"title" : "iterableDiff Var"
},
"async-var" : {
"title" : "async Var"
},
"defaultPipes-var" : {
"title" : "defaultPipes Var"
},

View File

@ -0,0 +1,9 @@
{
"AsyncPipe-class" : {
"title" : "AsyncPipe Class"
},
"AsyncPipeFactory-class" : {
"title" : "AsyncPipeFactory Class"
}
}

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -15,7 +15,6 @@ p.
code.
constructor(injector: Injector)
:markdown
@ -30,7 +29,6 @@ p.
code.
createView(component: Type, {context = null, html = null}: {context:any, html: string} = {}, [object Object], [object Object], [object Object])
:markdown
Creates an `AppView` for the given component.
@ -50,7 +48,6 @@ p.
code.
overrideDirective(component: Type, from: Type, to: Type, [object Object], [object Object], [object Object])
:markdown
Overrides the directives from the component <a href="angular2/annotations/View-class"><code>View</code></a>.
@ -67,7 +64,6 @@ p.
code.
overrideView(component: Type, template: View, [object Object], [object Object])
:markdown
Overrides the <a href="angular2/annotations/View-class"><code>View</code></a> of a <a href="angular2/annotations/Component-class"><code>Component</code></a>.
@ -84,7 +80,6 @@ p.
code.
setInlineTemplate(component: Type, html: string, [object Object], [object Object])
:markdown
Overrides only the html of a <a href="angular2/annotations/Component-class"><code>Component</code></a>.
All the other propoerties of the component's <a href="angular2/annotations/View-class"><code>View</code></a> are preserved.

View File

@ -1,5 +1,8 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{page.title}</a>
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 })

View File

@ -20,7 +20,6 @@ p.
code.
constructor()
:markdown
@ -35,7 +34,6 @@ p.
code.
[Symbol.iterator]()
:markdown
@ -51,7 +49,6 @@ p.
code.
add(obj)
:markdown
@ -67,7 +64,6 @@ p.
code.
fireCallbacks()
:markdown
@ -83,7 +79,6 @@ p.
code.
onChange(callback)
:markdown
@ -99,7 +94,6 @@ p.
code.
removeCallback(callback)
:markdown
@ -115,7 +109,6 @@ p.
code.
reset(newList)
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
constructor(reader: DirectiveMetadataReader, cache:CompilerCache, templateResolver: TemplateResolver, componentUrlMapper: ComponentUrlMapper, urlResolver: UrlResolver, renderer: renderApi.Renderer, protoViewFactory: ProtoViewFactory)
:markdown
@ -30,7 +29,6 @@ p.
code.
buildRenderDirective(directiveBinding)
:markdown
@ -46,7 +44,6 @@ p.
code.
compile(component: Type)
:markdown
@ -62,7 +59,6 @@ p.
code.
compileInHost(componentTypeOrBinding:any)
:markdown

View File

@ -13,9 +13,8 @@ p.
pre.prettyprint
code.
constructor(location:ElementRef, instance:any, componentView:AppView)
constructor(location:ElementRef, instance:any, componentView:AppView, dispose:Function)
:markdown
@ -26,7 +25,21 @@ p.
h3 componentView
:markdown
.l-sub-section
h3 dispose
pre.prettyprint
code.
dispose()
:markdown
@ -38,7 +51,6 @@ p.
h3 hostView
:markdown
@ -50,7 +62,6 @@ p.
h3 injector
:markdown
@ -62,7 +73,6 @@ p.
h3 instance
:markdown
@ -74,7 +84,6 @@ p.
h3 location
:markdown

View File

@ -1,7 +1,7 @@
p.
<span class="location-badge">exported from <a href="/angular2/view">angular2/view</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/dynamic_component_loader.js#L41">angular2/src/core/compiler/dynamic_component_loader.js (line 41)</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/dynamic_component_loader.js#L47">angular2/src/core/compiler/dynamic_component_loader.js (line 47)</a>
:markdown
Service for dynamically loading a Component into an arbitrary position in the internal Angular
@ -17,7 +17,6 @@ p.
code.
constructor(compiler:Compiler, directiveMetadataReader:DirectiveMetadataReader, viewFactory:ViewFactory, viewHydrator:AppViewHydrator)
:markdown
@ -32,7 +31,6 @@ p.
code.
loadIntoExistingLocation(type:Type, location:ElementRef, injector:Injector = null)
:markdown
Loads a component into the location given by the provided ElementRef. The loaded component
receives injection as if it in the place of the provided ElementRef.
@ -47,12 +45,27 @@ p.
pre.prettyprint
code.
loadIntoNewLocation(elementOrSelector:any, type:Type, location:ElementRef, injector:Injector = null)
loadIntoNewLocation(type:Type, parentComponentLocation:ElementRef, elementOrSelector:any, injector:Injector = null)
:markdown
Loads a component as a child of the View given by the provided ElementRef. The loaded
component receives injection normally as a hosted view.
Loads a component in the element specified by elementOrSelector. The loaded component receives
injection normally as a hosted view.
.l-sub-section
h3 loadNextToExistingLocation
pre.prettyprint
code.
loadNextToExistingLocation(type:Type, location:ElementRef, injector:Injector = null)
:markdown
Loads a component next to the provided ElementRef. The loaded component receives
injection normally as a hosted view.

View File

@ -13,9 +13,8 @@ p.
pre.prettyprint
code.
constructor(elementInjector:ElementInjector)
constructor(elementInjector, hostView, boundElementIndex, injector)
:markdown
@ -26,7 +25,6 @@ p.
h3 boundElementIndex
:markdown
@ -38,7 +36,6 @@ p.
h3 elementInjector
:markdown
@ -50,7 +47,6 @@ p.
h3 hostView
:markdown
@ -62,7 +58,6 @@ p.
h3 injector
:markdown
@ -74,7 +69,6 @@ p.
h3 viewContainer
:markdown

View File

@ -77,7 +77,6 @@ p.
code.
onChange(callback)
:markdown
@ -93,7 +92,6 @@ p.
code.
removeCallback(callback)
:markdown

View File

@ -15,7 +15,6 @@ p.
code.
constructor(parentView: viewModule.AppView, defaultProtoView: viewModule.AppProtoView, elementInjector: eiModule.ElementInjector)
:markdown
@ -30,7 +29,6 @@ p.
code.
clear()
:markdown
@ -44,9 +42,8 @@ p.
pre.prettyprint
code.
create(atIndex=-1, protoView:viewModule.AppProtoView = null, injector:Injector = null)
create(atIndex:number=-1, protoView:viewModule.AppProtoView = null, injector:Injector = null)
:markdown
@ -58,7 +55,6 @@ p.
h3 defaultProtoView
:markdown
@ -72,9 +68,8 @@ p.
pre.prettyprint
code.
detach(atIndex=-1)
detach(atIndex:number=-1)
: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.
@ -87,7 +82,6 @@ p.
h3 elementInjector
:markdown
@ -103,7 +97,6 @@ p.
code.
get(index: number)
:markdown
@ -119,7 +112,6 @@ p.
code.
getRender()
:markdown
@ -135,7 +127,21 @@ p.
code.
hydrated()
:markdown
.l-sub-section
h3 indexOf
pre.prettyprint
code.
indexOf(view:viewModule.AppView)
:markdown
@ -149,9 +155,8 @@ p.
pre.prettyprint
code.
insert(view, atIndex=-1)
insert(view:viewModule.AppView, atIndex:number=-1)
:markdown
@ -167,7 +172,6 @@ p.
code.
internalClearWithoutRender()
:markdown
@ -179,7 +183,6 @@ p.
h3 length
:markdown
@ -191,7 +194,6 @@ p.
h3 parentView
:markdown
@ -205,9 +207,8 @@ p.
pre.prettyprint
code.
remove(atIndex=-1)
remove(atIndex:number=-1)
:markdown