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 ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span> <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 :markdown
Directive that attaches behavior to DOM elements. Directive that attaches behavior to DOM elements.
@ -85,7 +85,6 @@ p.
compileChildren:boolean compileChildren:boolean
}={}) }={})
:markdown :markdown
@ -96,7 +95,6 @@ p.
h3 compileChildren h3 compileChildren
:markdown :markdown
If set to true the compiler does not compile the children of this directive. If set to true the compiler does not compile the children of this directive.

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span> <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 :markdown
Directive used for dynamically loading components. Directive used for dynamically loading components.
@ -72,7 +72,6 @@ p.
lifecycle:List lifecycle:List
}={}) }={})
:markdown :markdown
@ -83,7 +82,6 @@ p.
h3 injectables h3 injectables
:markdown :markdown
Same as `injectables` in the <a href="angular2/annotations/Component-class"><code>Component</code></a>. Same as `injectables` in the <a href="angular2/annotations/Component-class"><code>Component</code></a>.

View File

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

View File

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

View File

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

View File

@ -44,14 +44,15 @@ p.
constructor({ constructor({
templateUrl, templateUrl,
template, template,
directives directives,
renderer
}: { }: {
templateUrl: string, templateUrl: string,
template: string, template: string,
directives: List&lt;Type&gt; directives: List&lt;Type&gt;,
renderer: string
}) })
:markdown :markdown
@ -62,7 +63,6 @@ p.
h3 directives h3 directives
:markdown :markdown
Specifies a list of directives that can be used within a template. Specifies a list of directives that can be used within a template.
@ -90,9 +90,20 @@ p.
.l-sub-section .l-sub-section
h3 template 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 :markdown
Specifies an inline template for an angular component. Specifies an inline template for an angular component.
@ -107,7 +118,6 @@ p.
h3 templateUrl h3 templateUrl
:markdown :markdown
Specifies a template URL for an angular component. Specifies a template URL for an angular component.

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span> <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 :markdown
Directive that controls the instantiation, destruction, and positioning of inline template elements. Directive that controls the instantiation, destruction, and positioning of inline template elements.
@ -115,7 +115,6 @@ p.
lifecycle:List lifecycle:List
}={}) }={})
:markdown :markdown

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/annotations">angular2/annotations</a></span> <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 :markdown
Declare reusable UI building blocks for an application. Declare reusable UI building blocks for an application.
@ -62,7 +62,6 @@ p.
changeDetection:string changeDetection:string
}={}) }={})
:markdown :markdown
@ -73,7 +72,6 @@ p.
h3 changeDetection h3 changeDetection
:markdown :markdown
Defines the used change detection strategy. Defines the used change detection strategy.
@ -91,7 +89,6 @@ p.
h3 injectables h3 injectables
:markdown :markdown
Defines the set of injectable objects that are visible to a Component and its children. Defines the set of injectable objects that are visible to a Component and its children.

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/change_detection">angular2/change_detection</a></span> <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 :markdown
@ -15,7 +15,6 @@ p.
code. code.
constructor(registry:PipeRegistry) constructor(registry:PipeRegistry)
:markdown :markdown
@ -30,7 +29,6 @@ p.
code. code.
createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT) createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT)
:markdown :markdown
@ -42,7 +40,6 @@ p.
h3 registry h3 registry
:markdown :markdown

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/change_detection">angular2/change_detection</a></span> <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 :markdown
@ -15,7 +15,6 @@ p.
code. code.
constructor(registry:PipeRegistry) constructor(registry:PipeRegistry)
:markdown :markdown
@ -30,7 +29,6 @@ p.
code. code.
createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT) createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT)
:markdown :markdown
@ -42,7 +40,6 @@ p.
h3 registry h3 registry
:markdown :markdown

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

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

View File

@ -17,7 +17,16 @@ p.
pre.prettyprint pre.prettyprint
code. code.
constructor(originalException, key) constructor(cause, key)
:markdown
.l-sub-section
h3 cause
:markdown :markdown
@ -25,3 +34,15 @@ p.
.l-sub-section
h3 causeKey
:markdown

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/di_errors">angular2/di_errors</a></span> <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 :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. 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. code.
constructor(binding) constructor(binding)
:markdown :markdown
@ -27,7 +26,6 @@ p.
h3 message h3 message
:markdown :markdown
@ -43,7 +41,6 @@ p.
code. code.
toString() toString()
:markdown :markdown

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/di_errors">angular2/di_errors</a></span> <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 :markdown
Thrown when the class has no annotation information. Thrown when the class has no annotation information.
@ -19,7 +19,6 @@ p.
code. code.
constructor(typeOrFunc) constructor(typeOrFunc)
:markdown :markdown
@ -30,7 +29,6 @@ p.
h3 message h3 message
:markdown :markdown
@ -46,7 +44,6 @@ p.
code. code.
toString() toString()
:markdown :markdown

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,8 @@
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
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. code.
constructor(item) constructor(item)
:markdown :markdown
@ -26,7 +25,6 @@ p.
h3 currentIndex h3 currentIndex
:markdown :markdown
@ -38,7 +36,6 @@ p.
h3 item h3 item
:markdown :markdown
@ -50,7 +47,6 @@ p.
h3 previousIndex h3 previousIndex
:markdown :markdown
@ -66,7 +62,6 @@ p.
code. code.
toString() toString()
:markdown :markdown

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,6 +7,18 @@
"title" : "iterableDiff Var" "title" : "iterableDiff Var"
}, },
"async-var" : {
"title" : "async Var"
},
"AsyncPipe-class" : {
"title" : "AsyncPipe Class"
},
"AsyncPipeFactory-class" : {
"title" : "AsyncPipeFactory Class"
},
"IterableChanges-class" : { "IterableChanges-class" : {
"title" : "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" "title" : "iterableDiff Var"
}, },
"async-var" : {
"title" : "async Var"
},
"defaultPipes-var" : { "defaultPipes-var" : {
"title" : "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 ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

@ -15,7 +15,6 @@ p.
code. code.
constructor(injector: Injector) constructor(injector: Injector)
:markdown :markdown
@ -30,7 +29,6 @@ p.
code. code.
createView(component: Type, {context = null, html = null}: {context:any, html: string} = {}, [object Object], [object Object], [object Object]) createView(component: Type, {context = null, html = null}: {context:any, html: string} = {}, [object Object], [object Object], [object Object])
:markdown :markdown
Creates an `AppView` for the given component. Creates an `AppView` for the given component.
@ -50,7 +48,6 @@ p.
code. code.
overrideDirective(component: Type, from: Type, to: Type, [object Object], [object Object], [object Object]) overrideDirective(component: Type, from: Type, to: Type, [object Object], [object Object], [object Object])
:markdown :markdown
Overrides the directives from the component <a href="angular2/annotations/View-class"><code>View</code></a>. Overrides the directives from the component <a href="angular2/annotations/View-class"><code>View</code></a>.
@ -67,7 +64,6 @@ p.
code. code.
overrideView(component: Type, template: View, [object Object], [object Object]) overrideView(component: Type, template: View, [object Object], [object Object])
:markdown :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>. 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. code.
setInlineTemplate(component: Type, html: string, [object Object], [object Object]) setInlineTemplate(component: Type, html: string, [object Object], [object Object])
:markdown :markdown
Overrides only the html of a <a href="angular2/annotations/Component-class"><code>Component</code></a>. 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. 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 ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title if slug != 'index'
selected = current.path[4] == slug ? 'is-selected':'' url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
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>
li.c8
!= partial("../../../../_includes/_hover-card", {name: page.title, url: url })

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
p. p.
<span class="location-badge">exported from <a href="/angular2/view">angular2/view</a></span> <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 :markdown
Service for dynamically loading a Component into an arbitrary position in the internal Angular Service for dynamically loading a Component into an arbitrary position in the internal Angular
@ -17,7 +17,6 @@ p.
code. code.
constructor(compiler:Compiler, directiveMetadataReader:DirectiveMetadataReader, viewFactory:ViewFactory, viewHydrator:AppViewHydrator) constructor(compiler:Compiler, directiveMetadataReader:DirectiveMetadataReader, viewFactory:ViewFactory, viewHydrator:AppViewHydrator)
:markdown :markdown
@ -32,7 +31,6 @@ p.
code. code.
loadIntoExistingLocation(type:Type, location:ElementRef, injector:Injector = null) loadIntoExistingLocation(type:Type, location:ElementRef, injector:Injector = null)
:markdown :markdown
Loads a component into the location given by the provided ElementRef. The loaded component 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. receives injection as if it in the place of the provided ElementRef.
@ -47,12 +45,27 @@ p.
pre.prettyprint pre.prettyprint
code. code.
loadIntoNewLocation(elementOrSelector:any, type:Type, location:ElementRef, injector:Injector = null) loadIntoNewLocation(type:Type, parentComponentLocation:ElementRef, elementOrSelector:any, injector:Injector = null)
:markdown :markdown
Loads a component as a child of the View given by the provided ElementRef. The loaded Loads a component in the element specified by elementOrSelector. The loaded component receives
component receives injection normally as a hosted view. 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,8 +13,7 @@ p.
pre.prettyprint pre.prettyprint
code. code.
constructor(elementInjector:ElementInjector) constructor(elementInjector, hostView, boundElementIndex, injector)
:markdown :markdown
@ -26,7 +25,6 @@ p.
h3 boundElementIndex h3 boundElementIndex
:markdown :markdown
@ -38,7 +36,6 @@ p.
h3 elementInjector h3 elementInjector
:markdown :markdown
@ -50,7 +47,6 @@ p.
h3 hostView h3 hostView
:markdown :markdown
@ -62,7 +58,6 @@ p.
h3 injector h3 injector
:markdown :markdown
@ -74,7 +69,6 @@ p.
h3 viewContainer h3 viewContainer
:markdown :markdown

View File

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

View File

@ -15,7 +15,6 @@ p.
code. code.
constructor(parentView: viewModule.AppView, defaultProtoView: viewModule.AppProtoView, elementInjector: eiModule.ElementInjector) constructor(parentView: viewModule.AppView, defaultProtoView: viewModule.AppProtoView, elementInjector: eiModule.ElementInjector)
:markdown :markdown
@ -30,7 +29,6 @@ p.
code. code.
clear() clear()
:markdown :markdown
@ -44,8 +42,7 @@ p.
pre.prettyprint pre.prettyprint
code. code.
create(atIndex=-1, protoView:viewModule.AppProtoView = null, injector:Injector = null) create(atIndex:number=-1, protoView:viewModule.AppProtoView = null, injector:Injector = null)
:markdown :markdown
@ -58,7 +55,6 @@ p.
h3 defaultProtoView h3 defaultProtoView
:markdown :markdown
@ -72,8 +68,7 @@ p.
pre.prettyprint pre.prettyprint
code. code.
detach(atIndex=-1) detach(atIndex:number=-1)
:markdown :markdown
The method can be used together with insert to implement a view move, i.e. The method can be used together with insert to implement a view move, i.e.
@ -87,7 +82,6 @@ p.
h3 elementInjector h3 elementInjector
:markdown :markdown
@ -103,7 +97,6 @@ p.
code. code.
get(index: number) get(index: number)
:markdown :markdown
@ -119,7 +112,6 @@ p.
code. code.
getRender() getRender()
:markdown :markdown
@ -135,6 +127,20 @@ p.
code. code.
hydrated() hydrated()
:markdown
.l-sub-section
h3 indexOf
pre.prettyprint
code.
indexOf(view:viewModule.AppView)
:markdown :markdown
@ -149,8 +155,7 @@ p.
pre.prettyprint pre.prettyprint
code. code.
insert(view, atIndex=-1) insert(view:viewModule.AppView, atIndex:number=-1)
:markdown :markdown
@ -167,7 +172,6 @@ p.
code. code.
internalClearWithoutRender() internalClearWithoutRender()
:markdown :markdown
@ -179,7 +183,6 @@ p.
h3 length h3 length
:markdown :markdown
@ -191,7 +194,6 @@ p.
h3 parentView h3 parentView
:markdown :markdown
@ -205,8 +207,7 @@ p.
pre.prettyprint pre.prettyprint
code. code.
remove(atIndex=-1) remove(atIndex:number=-1)
:markdown :markdown