diff --git a/public/docs/js/latest/api/angular2_sfx/_data.json b/public/docs/js/latest/api/angular2_sfx/_data.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/public/docs/js/latest/api/angular2_sfx/_data.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/public/docs/js/latest/api/annotations.jade b/public/docs/js/latest/api/annotations.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/annotations.jade +++ b/public/docs/js/latest/api/annotations.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/annotations/Ancestor-class.jade b/public/docs/js/latest/api/annotations/Ancestor-class.jade index b93dfb912d..ff8ee24eec 100644 --- a/public/docs/js/latest/api/annotations/Ancestor-class.jade +++ b/public/docs/js/latest/api/annotations/Ancestor-class.jade @@ -65,7 +65,6 @@ p. code. constructor() - :markdown diff --git a/public/docs/js/latest/api/annotations/Attribute-class.jade b/public/docs/js/latest/api/annotations/Attribute-class.jade index e969806d25..9ded11ce09 100644 --- a/public/docs/js/latest/api/annotations/Attribute-class.jade +++ b/public/docs/js/latest/api/annotations/Attribute-class.jade @@ -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 diff --git a/public/docs/js/latest/api/annotations/Decorator-class.jade b/public/docs/js/latest/api/annotations/Decorator-class.jade index 2be128b974..08696d7439 100644 --- a/public/docs/js/latest/api/annotations/Decorator-class.jade +++ b/public/docs/js/latest/api/annotations/Decorator-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 756) + defined in angular2/src/core/annotations/annotations.js (line 755) :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. diff --git a/public/docs/js/latest/api/annotations/DynamicComponent-class.jade b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade index b5b728dd4c..c71f13b840 100644 --- a/public/docs/js/latest/api/annotations/DynamicComponent-class.jade +++ b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 661) + defined in angular2/src/core/annotations/annotations.js (line 660) :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 Component. diff --git a/public/docs/js/latest/api/annotations/Parent-class.jade b/public/docs/js/latest/api/annotations/Parent-class.jade index fcbe4992d8..04ba39e208 100644 --- a/public/docs/js/latest/api/annotations/Parent-class.jade +++ b/public/docs/js/latest/api/annotations/Parent-class.jade @@ -52,7 +52,6 @@ p. code. constructor() - :markdown diff --git a/public/docs/js/latest/api/annotations/PropertySetter-class.jade b/public/docs/js/latest/api/annotations/PropertySetter-class.jade index 6b8119c159..2880aeba22 100644 --- a/public/docs/js/latest/api/annotations/PropertySetter-class.jade +++ b/public/docs/js/latest/api/annotations/PropertySetter-class.jade @@ -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 diff --git a/public/docs/js/latest/api/annotations/Query-class.jade b/public/docs/js/latest/api/annotations/Query-class.jade index 7b0c4d94b8..a143ac0e94 100644 --- a/public/docs/js/latest/api/annotations/Query-class.jade +++ b/public/docs/js/latest/api/annotations/Query-class.jade @@ -18,7 +18,6 @@ p. code. constructor(directive) - :markdown @@ -29,7 +28,6 @@ p. h3 directive - :markdown diff --git a/public/docs/js/latest/api/annotations/View-class.jade b/public/docs/js/latest/api/annotations/View-class.jade index 268bc504a4..e8fa90c27e 100644 --- a/public/docs/js/latest/api/annotations/View-class.jade +++ b/public/docs/js/latest/api/annotations/View-class.jade @@ -44,14 +44,15 @@ p. constructor({ templateUrl, template, - directives + directives, + renderer }: { templateUrl: string, template: string, - directives: List<Type> + directives: List<Type>, + 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. diff --git a/public/docs/js/latest/api/annotations/Viewport-class.jade b/public/docs/js/latest/api/annotations/Viewport-class.jade index f87ef1256b..81ae1e8544 100644 --- a/public/docs/js/latest/api/annotations/Viewport-class.jade +++ b/public/docs/js/latest/api/annotations/Viewport-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 885) + defined in angular2/src/core/annotations/annotations.js (line 884) :markdown Directive that controls the instantiation, destruction, and positioning of inline template elements. @@ -115,7 +115,6 @@ p. lifecycle:List }={}) - :markdown diff --git a/public/docs/js/latest/api/annotations/component-class.jade b/public/docs/js/latest/api/annotations/component-class.jade index a7ee0329f4..0b9b3bcefb 100644 --- a/public/docs/js/latest/api/annotations/component-class.jade +++ b/public/docs/js/latest/api/annotations/component-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 522) + defined in angular2/src/core/annotations/annotations.js (line 521) :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. diff --git a/public/docs/js/latest/api/annotations/directive-class.jade b/public/docs/js/latest/api/annotations/directive-class.jade index 3dcbe33aa2..d47befb3f9 100644 --- a/public/docs/js/latest/api/annotations/directive-class.jade +++ b/public/docs/js/latest/api/annotations/directive-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 241) + defined in angular2/src/core/annotations/annotations.js (line 240) :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. diff --git a/public/docs/js/latest/api/change_detection.jade b/public/docs/js/latest/api/change_detection.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/change_detection.jade +++ b/public/docs/js/latest/api/change_detection.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade index bc573a2ce1..a3fd0c445f 100644 --- a/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade +++ b/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade @@ -34,7 +34,6 @@ p. code. createProtoChangeDetector(name:string, changeControlStrategy:string=DEFAULT) - :markdown diff --git a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade index 1c05b472bd..dbeed0b83d 100644 --- a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade +++ b/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade @@ -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. diff --git a/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade index ba77d1ca2c..b2826b5f72 100644 --- a/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade +++ b/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/change_detection - defined in angular2/src/change_detection/change_detection.js (line 39) + defined in angular2/src/change_detection/change_detection.js (line 51) :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 diff --git a/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade index 446ba73a3c..920182a4c2 100644 --- a/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade +++ b/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/change_detection - defined in angular2/src/change_detection/change_detection.js (line 56) + defined in angular2/src/change_detection/change_detection.js (line 68) :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 diff --git a/public/docs/js/latest/api/change_detection/LifeCycle-class.jade b/public/docs/js/latest/api/change_detection/LifeCycle-class.jade index e3e627da2b..85a762b550 100644 --- a/public/docs/js/latest/api/change_detection/LifeCycle-class.jade +++ b/public/docs/js/latest/api/change_detection/LifeCycle-class.jade @@ -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. diff --git a/public/docs/js/latest/api/core.jade b/public/docs/js/latest/api/core.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/core.jade +++ b/public/docs/js/latest/api/core.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/core/ExceptionHandler-class.jade b/public/docs/js/latest/api/core/ExceptionHandler-class.jade index 231c6a6cb6..fdc3495429 100644 --- a/public/docs/js/latest/api/core/ExceptionHandler-class.jade +++ b/public/docs/js/latest/api/core/ExceptionHandler-class.jade @@ -40,7 +40,6 @@ p. code. call(error, stackTrace = null, reason = null) - :markdown diff --git a/public/docs/js/latest/api/core/NgElement-class.jade b/public/docs/js/latest/api/core/NgElement-class.jade index 0cdc147335..36f36e6f35 100644 --- a/public/docs/js/latest/api/core/NgElement-class.jade +++ b/public/docs/js/latest/api/core/NgElement-class.jade @@ -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 diff --git a/public/docs/js/latest/api/core/VmTurnZone-class.jade b/public/docs/js/latest/api/core/VmTurnZone-class.jade index 8750aa7dba..1cf3d56bb0 100644 --- a/public/docs/js/latest/api/core/VmTurnZone-class.jade +++ b/public/docs/js/latest/api/core/VmTurnZone-class.jade @@ -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. diff --git a/public/docs/js/latest/api/di.jade b/public/docs/js/latest/api/di.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/di.jade +++ b/public/docs/js/latest/api/di.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/di/Binding-class.jade b/public/docs/js/latest/api/di/Binding-class.jade index 4b3447995e..e330dc99f4 100644 --- a/public/docs/js/latest/api/di/Binding-class.jade +++ b/public/docs/js/latest/api/di/Binding-class.jade @@ -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 Binding into ResolvedBinding. @@ -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`. diff --git a/public/docs/js/latest/api/di/BindingBuilder-class.jade b/public/docs/js/latest/api/di/BindingBuilder-class.jade index 4f2ca74487..cde7c57f29 100644 --- a/public/docs/js/latest/api/di/BindingBuilder-class.jade +++ b/public/docs/js/latest/api/di/BindingBuilder-class.jade @@ -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 diff --git a/public/docs/js/latest/api/di/Injector-class.jade b/public/docs/js/latest/api/di/Injector-class.jade index a44b31371b..434ae09981 100644 --- a/public/docs/js/latest/api/di/Injector-class.jade +++ b/public/docs/js/latest/api/di/Injector-class.jade @@ -49,7 +49,6 @@ p. code. constructor(bindings:List<ResolvedBinding>, 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<ResolvedBinding>, [object Object]) - :markdown Creates a child injector and loads a new set of ResolvedBindings into it. @@ -98,7 +95,6 @@ p. code. fromResolvedBindings(bindings:List<ResolvedBinding>, {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. diff --git a/public/docs/js/latest/api/di/Key-class.jade b/public/docs/js/latest/api/di/Key-class.jade index 8a9f964e2a..6ae8083ad3 100644 --- a/public/docs/js/latest/api/di/Key-class.jade +++ b/public/docs/js/latest/api/di/Key-class.jade @@ -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 diff --git a/public/docs/js/latest/api/di/ResolvedBinding-class.jade b/public/docs/js/latest/api/di/ResolvedBinding-class.jade index 2e000b1f59..a7db8a984d 100644 --- a/public/docs/js/latest/api/di/ResolvedBinding-class.jade +++ b/public/docs/js/latest/api/di/ResolvedBinding-class.jade @@ -19,7 +19,6 @@ p. code. constructor(key:Key, factory:Function, dependencies:List<Dependency>, 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`. diff --git a/public/docs/js/latest/api/di_annotations.jade b/public/docs/js/latest/api/di_annotations.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/di_annotations.jade +++ b/public/docs/js/latest/api/di_annotations.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade b/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade index d5b0bb8d65..b6a812a846 100644 --- a/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade +++ b/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade @@ -38,7 +38,6 @@ p. code. constructor() - :markdown @@ -49,7 +48,6 @@ p. h3 token - :markdown diff --git a/public/docs/js/latest/api/di_annotations/Inject-class.jade b/public/docs/js/latest/api/di_annotations/Inject-class.jade index 24d9efb422..009d88a6eb 100644 --- a/public/docs/js/latest/api/di_annotations/Inject-class.jade +++ b/public/docs/js/latest/api/di_annotations/Inject-class.jade @@ -22,7 +22,6 @@ p. code. constructor(token) - :markdown @@ -33,7 +32,6 @@ p. h3 token - :markdown diff --git a/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade b/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade index 448128a8d8..accb43fcb6 100644 --- a/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade +++ b/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade @@ -24,7 +24,6 @@ p. code. constructor(token) - :markdown @@ -35,7 +34,6 @@ p. h3 token - :markdown diff --git a/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade b/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade index 801a347ea4..7e913005b3 100644 --- a/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade +++ b/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade @@ -24,7 +24,6 @@ p. code. constructor(token) - :markdown @@ -35,7 +34,6 @@ p. h3 token - :markdown diff --git a/public/docs/js/latest/api/di_annotations/Injectable-class.jade b/public/docs/js/latest/api/di_annotations/Injectable-class.jade index dd8c56f2b0..4d142b6f7c 100644 --- a/public/docs/js/latest/api/di_annotations/Injectable-class.jade +++ b/public/docs/js/latest/api/di_annotations/Injectable-class.jade @@ -25,7 +25,6 @@ p. code. constructor() - :markdown diff --git a/public/docs/js/latest/api/di_annotations/Optional-class.jade b/public/docs/js/latest/api/di_annotations/Optional-class.jade index 55ab4225bc..1c723b4e1b 100644 --- a/public/docs/js/latest/api/di_annotations/Optional-class.jade +++ b/public/docs/js/latest/api/di_annotations/Optional-class.jade @@ -25,7 +25,6 @@ p. code. constructor() - :markdown diff --git a/public/docs/js/latest/api/di_errors.jade b/public/docs/js/latest/api/di_errors.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/di_errors.jade +++ b/public/docs/js/latest/api/di_errors.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade b/public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade index 565ab4cd54..fa25b58d33 100644 --- a/public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade +++ b/public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade @@ -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 diff --git a/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade b/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade index e5fd0bdbf8..4009117920 100644 --- a/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade +++ b/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade @@ -35,7 +35,6 @@ p. code. constructor(key) - :markdown diff --git a/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade b/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade index 23169fe1a4..bdd9820c30 100644 --- a/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade +++ b/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade @@ -29,7 +29,6 @@ p. code. constructor(key) - :markdown diff --git a/public/docs/js/latest/api/di_errors/InstantiationError-class.jade b/public/docs/js/latest/api/di_errors/InstantiationError-class.jade index 669af66944..e234cf4cdb 100644 --- a/public/docs/js/latest/api/di_errors/InstantiationError-class.jade +++ b/public/docs/js/latest/api/di_errors/InstantiationError-class.jade @@ -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 + + + + + diff --git a/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade b/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade index b0bb7695a2..c1cc810b77 100644 --- a/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade +++ b/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/di_errors - defined in angular2/src/di/exceptions.js (line 157) + defined in angular2/src/di/exceptions.js (line 161) :markdown Thrown when an object other then Binding (or `Type`) is passed to Injector 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 diff --git a/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade b/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade index beced7ce1b..9c65e11b4a 100644 --- a/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade +++ b/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/di_errors - defined in angular2/src/di/exceptions.js (line 177) + defined in angular2/src/di/exceptions.js (line 181) :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 diff --git a/public/docs/js/latest/api/di_errors/NoBindingError-class.jade b/public/docs/js/latest/api/di_errors/NoBindingError-class.jade index 341b13edf2..5ebbd7992e 100644 --- a/public/docs/js/latest/api/di_errors/NoBindingError-class.jade +++ b/public/docs/js/latest/api/di_errors/NoBindingError-class.jade @@ -17,7 +17,6 @@ p. code. constructor(key) - :markdown diff --git a/public/docs/js/latest/api/directives.jade b/public/docs/js/latest/api/directives.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/directives.jade +++ b/public/docs/js/latest/api/directives.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/directives/For-class.jade b/public/docs/js/latest/api/directives/For-class.jade index c8200f39a8..49e77b7bf6 100644 --- a/public/docs/js/latest/api/directives/For-class.jade +++ b/public/docs/js/latest/api/directives/For-class.jade @@ -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 diff --git a/public/docs/js/latest/api/directives/If-class.jade b/public/docs/js/latest/api/directives/If-class.jade index b43008107f..e2d5da97ee 100644 --- a/public/docs/js/latest/api/directives/If-class.jade +++ b/public/docs/js/latest/api/directives/If-class.jade @@ -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 diff --git a/public/docs/js/latest/api/directives/Switch-class.jade b/public/docs/js/latest/api/directives/Switch-class.jade index dd19917ed2..29a5b5ebd9 100644 --- a/public/docs/js/latest/api/directives/Switch-class.jade +++ b/public/docs/js/latest/api/directives/Switch-class.jade @@ -38,7 +38,6 @@ p. code. constructor() - :markdown @@ -53,7 +52,6 @@ p. code. value(value) - :markdown diff --git a/public/docs/js/latest/api/directives/SwitchDefault-class.jade b/public/docs/js/latest/api/directives/SwitchDefault-class.jade index 7b2aebe2ec..a536579269 100644 --- a/public/docs/js/latest/api/directives/SwitchDefault-class.jade +++ b/public/docs/js/latest/api/directives/SwitchDefault-class.jade @@ -24,7 +24,6 @@ p. code. constructor(viewContainer: ViewContainer, sswitch: Switch) - :markdown diff --git a/public/docs/js/latest/api/directives/SwitchWhen-class.jade b/public/docs/js/latest/api/directives/SwitchWhen-class.jade index 45bc3de552..46965eb6a2 100644 --- a/public/docs/js/latest/api/directives/SwitchWhen-class.jade +++ b/public/docs/js/latest/api/directives/SwitchWhen-class.jade @@ -28,7 +28,6 @@ p. code. constructor(viewContainer: ViewContainer, sswitch: Switch) - :markdown @@ -43,7 +42,6 @@ p. code. when(value) - :markdown diff --git a/public/docs/js/latest/api/forms.jade b/public/docs/js/latest/api/forms.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/forms.jade +++ b/public/docs/js/latest/api/forms.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade index 603dd664fc..e591a2c4d8 100644 --- a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade +++ b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade @@ -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 diff --git a/public/docs/js/latest/api/forms/Control-class.jade b/public/docs/js/latest/api/forms/Control-class.jade index 53db1be371..bd064a52af 100644 --- a/public/docs/js/latest/api/forms/Control-class.jade +++ b/public/docs/js/latest/api/forms/Control-class.jade @@ -19,7 +19,6 @@ p. code. constructor(value:any, validator:Function = Validators.nullValidator) - :markdown @@ -34,7 +33,6 @@ p. code. updateValue(value:any) - :markdown diff --git a/public/docs/js/latest/api/forms/ControlArray-class.jade b/public/docs/js/latest/api/forms/ControlArray-class.jade index bd71094463..0a45c4b722 100644 --- a/public/docs/js/latest/api/forms/ControlArray-class.jade +++ b/public/docs/js/latest/api/forms/ControlArray-class.jade @@ -24,7 +24,6 @@ p. code. constructor(controls:List<AbstractControl>, 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 diff --git a/public/docs/js/latest/api/forms/ControlDirective-class.jade b/public/docs/js/latest/api/forms/ControlDirective-class.jade index a1884dcecd..a3e839c8dd 100644 --- a/public/docs/js/latest/api/forms/ControlDirective-class.jade +++ b/public/docs/js/latest/api/forms/ControlDirective-class.jade @@ -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 diff --git a/public/docs/js/latest/api/forms/ControlGroup-class.jade b/public/docs/js/latest/api/forms/ControlGroup-class.jade index ca4d52c4a9..6378067985 100644 --- a/public/docs/js/latest/api/forms/ControlGroup-class.jade +++ b/public/docs/js/latest/api/forms/ControlGroup-class.jade @@ -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 diff --git a/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade b/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade index 2259edeeac..f6837c88e2 100644 --- a/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade +++ b/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade @@ -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 diff --git a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade index dab695ede3..c2a6f1fa5d 100644 --- a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade +++ b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade @@ -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 diff --git a/public/docs/js/latest/api/forms/FormBuilder-class.jade b/public/docs/js/latest/api/forms/FormBuilder-class.jade index a89cbee6ac..a31e3a5080 100644 --- a/public/docs/js/latest/api/forms/FormBuilder-class.jade +++ b/public/docs/js/latest/api/forms/FormBuilder-class.jade @@ -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 diff --git a/public/docs/js/latest/api/forms/Validators-class.jade b/public/docs/js/latest/api/forms/Validators-class.jade index e244c08f33..ca1b82ccab 100644 --- a/public/docs/js/latest/api/forms/Validators-class.jade +++ b/public/docs/js/latest/api/forms/Validators-class.jade @@ -22,7 +22,6 @@ p. code. array(c:modelModule.ControlArray) - :markdown @@ -38,7 +37,6 @@ p. code. compose(validators:List<Function>) - :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 diff --git a/public/docs/js/latest/api/pipes.jade b/public/docs/js/latest/api/pipes.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/pipes.jade +++ b/public/docs/js/latest/api/pipes.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/pipes/AsyncPipe-class.jade b/public/docs/js/latest/api/pipes/AsyncPipe-class.jade new file mode 100644 index 0000000000..cac7ab8392 --- /dev/null +++ b/public/docs/js/latest/api/pipes/AsyncPipe-class.jade @@ -0,0 +1,87 @@ + +p. + exported from angular2/pipes + defined in angular2/src/change_detection/pipes/async_pipe.js (line 29) + +: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; + } + + ``` + +.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 + + + + + diff --git a/public/docs/js/latest/api/pipes/AsyncPipeFactory-class.jade b/public/docs/js/latest/api/pipes/AsyncPipeFactory-class.jade new file mode 100644 index 0000000000..45b42eeddf --- /dev/null +++ b/public/docs/js/latest/api/pipes/AsyncPipeFactory-class.jade @@ -0,0 +1,39 @@ + +p. + exported from angular2/pipes + defined in angular2/src/change_detection/pipes/async_pipe.js (line 103) + +: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 + + + + + diff --git a/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade b/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade index 7077dbaa0c..acb7275ff6 100644 --- a/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade +++ b/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade @@ -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 diff --git a/public/docs/js/latest/api/pipes/IterableChanges-class.jade b/public/docs/js/latest/api/pipes/IterableChanges-class.jade index 69c865446f..e0ccdea850 100644 --- a/public/docs/js/latest/api/pipes/IterableChanges-class.jade +++ b/public/docs/js/latest/api/pipes/IterableChanges-class.jade @@ -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 diff --git a/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade b/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade index 63ed002501..d174633920 100644 --- a/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade +++ b/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade @@ -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 diff --git a/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade b/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade index 62c0b3e5ff..e8c23a0fcb 100644 --- a/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade +++ b/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade @@ -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 diff --git a/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade b/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade index 25c0f36226..de510bb463 100644 --- a/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade +++ b/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade @@ -15,7 +15,6 @@ p. code. create(cdRef) - :markdown @@ -31,7 +30,6 @@ p. code. supports(obj) - :markdown diff --git a/public/docs/js/latest/api/pipes/NullPipe-class.jade b/public/docs/js/latest/api/pipes/NullPipe-class.jade index b9531b9e3d..1579887830 100644 --- a/public/docs/js/latest/api/pipes/NullPipe-class.jade +++ b/public/docs/js/latest/api/pipes/NullPipe-class.jade @@ -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 diff --git a/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade b/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade index add5a1090c..e439ed72be 100644 --- a/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade +++ b/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade @@ -15,7 +15,6 @@ p. code. create(cdRef) - :markdown @@ -31,7 +30,6 @@ p. code. supports(obj) - :markdown diff --git a/public/docs/js/latest/api/pipes/Pipe-class.jade b/public/docs/js/latest/api/pipes/Pipe-class.jade index bf73f1ad64..c8e6f047f8 100644 --- a/public/docs/js/latest/api/pipes/Pipe-class.jade +++ b/public/docs/js/latest/api/pipes/Pipe-class.jade @@ -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 diff --git a/public/docs/js/latest/api/pipes/_data.json b/public/docs/js/latest/api/pipes/_data.json index c549353500..ea1af44083 100644 --- a/public/docs/js/latest/api/pipes/_data.json +++ b/public/docs/js/latest/api/pipes/_data.json @@ -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" }, diff --git a/public/docs/js/latest/api/pipes/async-var.jade b/public/docs/js/latest/api/pipes/async-var.jade new file mode 100644 index 0000000000..0ebfe4fa3d --- /dev/null +++ b/public/docs/js/latest/api/pipes/async-var.jade @@ -0,0 +1,9 @@ + +.l-main-section + h2 async variable + p(class="module") exported from angular2/pipes + + :markdown + Async binding to such types as Observable. + + diff --git a/public/docs/js/latest/api/src/change_detection/change_detection/_data.json b/public/docs/js/latest/api/src/change_detection/change_detection/_data.json index d23e947a9b..f5751c0b04 100644 --- a/public/docs/js/latest/api/src/change_detection/change_detection/_data.json +++ b/public/docs/js/latest/api/src/change_detection/change_detection/_data.json @@ -7,6 +7,10 @@ "title" : "iterableDiff Var" }, + "async-var" : { + "title" : "async Var" + }, + "defaultPipes-var" : { "title" : "defaultPipes Var" }, diff --git a/public/docs/js/latest/api/src/change_detection/pipes/async_pipe/_data.json b/public/docs/js/latest/api/src/change_detection/pipes/async_pipe/_data.json new file mode 100644 index 0000000000..84fd746d6c --- /dev/null +++ b/public/docs/js/latest/api/src/change_detection/pipes/async_pipe/_data.json @@ -0,0 +1,9 @@ +{ + "AsyncPipe-class" : { + "title" : "AsyncPipe Class" + }, + + "AsyncPipeFactory-class" : { + "title" : "AsyncPipeFactory Class" + } +} \ No newline at end of file diff --git a/public/docs/js/latest/api/test.jade b/public/docs/js/latest/api/test.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/test.jade +++ b/public/docs/js/latest/api/test.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/test/TestBed-class.jade b/public/docs/js/latest/api/test/TestBed-class.jade index 0f7c737092..ce432c5aef 100644 --- a/public/docs/js/latest/api/test/TestBed-class.jade +++ b/public/docs/js/latest/api/test/TestBed-class.jade @@ -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 View. @@ -67,7 +64,6 @@ p. code. overrideView(component: Type, template: View, [object Object], [object Object]) - :markdown Overrides the View of a Component. @@ -84,7 +80,6 @@ p. code. setInlineTemplate(component: Type, html: string, [object Object], [object Object]) - :markdown Overrides only the html of a Component. All the other propoerties of the component's View are preserved. diff --git a/public/docs/js/latest/api/view.jade b/public/docs/js/latest/api/view.jade index 5d0e383f88..ba2b2afc04 100644 --- a/public/docs/js/latest/api/view.jade +++ b/public/docs/js/latest/api/view.jade @@ -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 #{page.title} + if slug != 'index' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html" + + li.c8 + != partial("../../../../_includes/_hover-card", {name: page.title, url: url }) + diff --git a/public/docs/js/latest/api/view/BaseQueryList-class.jade b/public/docs/js/latest/api/view/BaseQueryList-class.jade index 1518eaa26c..f42198d6ec 100644 --- a/public/docs/js/latest/api/view/BaseQueryList-class.jade +++ b/public/docs/js/latest/api/view/BaseQueryList-class.jade @@ -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 diff --git a/public/docs/js/latest/api/view/Compiler-class.jade b/public/docs/js/latest/api/view/Compiler-class.jade index ca43a9ea9d..50e46b6d9a 100644 --- a/public/docs/js/latest/api/view/Compiler-class.jade +++ b/public/docs/js/latest/api/view/Compiler-class.jade @@ -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 diff --git a/public/docs/js/latest/api/view/ComponentRef-class.jade b/public/docs/js/latest/api/view/ComponentRef-class.jade index c500c256eb..921c5082cc 100644 --- a/public/docs/js/latest/api/view/ComponentRef-class.jade +++ b/public/docs/js/latest/api/view/ComponentRef-class.jade @@ -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 diff --git a/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade b/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade index 05a60425fd..cb0ebc9ea9 100644 --- a/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade +++ b/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/view - defined in angular2/src/core/compiler/dynamic_component_loader.js (line 41) + defined in angular2/src/core/compiler/dynamic_component_loader.js (line 47) :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. diff --git a/public/docs/js/latest/api/view/ElementRef-class.jade b/public/docs/js/latest/api/view/ElementRef-class.jade index e725e4bbec..ad8b58bbc0 100644 --- a/public/docs/js/latest/api/view/ElementRef-class.jade +++ b/public/docs/js/latest/api/view/ElementRef-class.jade @@ -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 diff --git a/public/docs/js/latest/api/view/QueryList-class.jade b/public/docs/js/latest/api/view/QueryList-class.jade index 13d95256a9..65b03c125f 100644 --- a/public/docs/js/latest/api/view/QueryList-class.jade +++ b/public/docs/js/latest/api/view/QueryList-class.jade @@ -77,7 +77,6 @@ p. code. onChange(callback) - :markdown @@ -93,7 +92,6 @@ p. code. removeCallback(callback) - :markdown diff --git a/public/docs/js/latest/api/view/ViewContainer-class.jade b/public/docs/js/latest/api/view/ViewContainer-class.jade index e9e30cbdf4..831c389efc 100644 --- a/public/docs/js/latest/api/view/ViewContainer-class.jade +++ b/public/docs/js/latest/api/view/ViewContainer-class.jade @@ -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