1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How to apply filters to *ngFor?

Discussão em 'Angular' iniciado por Khaled, Julho 19, 2025.

  1. Khaled

    Khaled Guest

    Apparently, Angular 2 will use pipes instead of filters as in Angular1 in conjunction with ng-for to filter results, although the implementation still seems to be vague, with no clear documentation.

    Namely what I'm trying to achieve could be viewed from the following perspective

    <div *ng-for="#item of itemsList" *ng-if="conditon(item)"></div>


    How to implement so using pipes?

    Continue reading...

Compartilhe esta Página