Angular 角度2<;模板>;和管道

Angular 角度2<;模板>;和管道,angular,pipe,ngfor,Angular,Pipe,Ngfor,在此构造中使用管道(例如异步)的语法是什么: <template let-item [ngForOf]="items"> ... </template> ... 另外,我知道如何使用带有*ngFor的管道,但我需要 谢谢。没有什么特别的 <template let-item [ngForOf]="items | somePipe"> Ok。所以,它需要在报价单中。谢谢

在此构造中使用管道(例如异步)的语法是什么:

<template let-item [ngForOf]="items">
   ...
</template>

...
另外,我知道如何使用带有
*ngFor
的管道,但我需要


谢谢。

没有什么特别的

<template let-item [ngForOf]="items | somePipe">

Ok。所以,它需要在报价单中。谢谢