style(ngFor): add whitespace to Directive
annotation
This commit is contained in:
parent
45cbc430e8
commit
35597a8349
@ -33,8 +33,11 @@ import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
|||||||
* - `<li template="ng-for #item of items; #i = index">...</li>`
|
* - `<li template="ng-for #item of items; #i = index">...</li>`
|
||||||
* - `<template ng-for #item [ng-for-of]="items" #i="index"><li>...</li></template>`
|
* - `<template ng-for #item [ng-for-of]="items" #i="index"><li>...</li></template>`
|
||||||
*/
|
*/
|
||||||
@Directive(
|
@Directive({
|
||||||
{selector: '[ng-for][ng-for-of]', properties: ['ngForOf'], lifecycle: [LifecycleEvent.onCheck]})
|
selector: '[ng-for][ng-for-of]',
|
||||||
|
properties: ['ngForOf'],
|
||||||
|
lifecycle: [LifecycleEvent.onCheck]
|
||||||
|
})
|
||||||
export class NgFor {
|
export class NgFor {
|
||||||
_ngForOf: any;
|
_ngForOf: any;
|
||||||
_pipe: Pipe;
|
_pipe: Pipe;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user