parent
da6def3772
commit
662ff47627
|
@ -107,7 +107,7 @@ export class ViewContainerRef {
|
|||
|
||||
/**
|
||||
* 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.
|
||||
* moving the DOM nodes while the directives in the view stay intact.
|
||||
*/
|
||||
detach(atIndex: number = -1): ViewRef {
|
||||
if (atIndex == -1) atIndex = this.length - 1;
|
||||
|
|
|
@ -11,7 +11,7 @@ import {ElementRef} from 'angular2/src/core/compiler/element_ref';
|
|||
/**
|
||||
* A DebugElement contains information from the Angular compiler about an
|
||||
* element and provides access to the corresponding ElementInjector and
|
||||
* underlying dom Element, as well as a way to query for children.
|
||||
* underlying DOM Element, as well as a way to query for children.
|
||||
*/
|
||||
export class DebugElement {
|
||||
_elementInjector: ElementInjector;
|
||||
|
|
|
@ -97,7 +97,7 @@ export class AttributeMetadata extends DependencyMetadata {
|
|||
* }
|
||||
* ```
|
||||
*
|
||||
* A query can look for variable bindinds by passing in a string with desired binding symbol.
|
||||
* A query can look for variable bindings by passing in a string with desired binding symbol.
|
||||
*
|
||||
* ### Example ([live demo](http://plnkr.co/edit/sT2j25cH1dURAyBRCKx1?p=preview))
|
||||
* ```html
|
||||
|
|
|
@ -49,7 +49,7 @@ var defaultLocale: string = 'en-US';
|
|||
* | timezone | Z | Z (GMT-8:00) | - | - | - |
|
||||
*
|
||||
* In javascript, only the components specified will be respected (not the ordering,
|
||||
* punctuations, ...) and details of the the formatting will be dependent on the locale.
|
||||
* punctuations, ...) and details of the formatting will be dependent on the locale.
|
||||
* On the other hand in Dart version, you can also include quoted text as well as some extra
|
||||
* date/time components such as quarter. For more information see:
|
||||
* https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/intl/intl.DateFormat.
|
||||
|
|
|
@ -59,7 +59,7 @@ export class NumberPipe {
|
|||
* WARNING: this pipe uses the Internationalization API.
|
||||
* Therefore it is only reliable in Chrome and Opera browsers.
|
||||
*
|
||||
* Formats a number as local text. i.e. group sizing and seperator and other locale-specific
|
||||
* Formats a number as local text. i.e. group sizing and separator and other locale-specific
|
||||
* configurations are based on the active locale.
|
||||
*
|
||||
* # Usage
|
||||
|
|
Loading…
Reference in New Issue