Angular change sintax ngif

Discussão em 'Angular' iniciado por Francesco Leuzzi, Abril 13, 2025.

  1. How can i transform this with the new sintax introduced by Angular 17+? @for, @if...

    <ul *ngIf="quotes.value() as quoteList">
    <li *ngFor="let quote of quoteList">
    "{{ quote.q }}"<br />
    <small>— {{ quote.a }}</small>
    </li>
    </ul>

    Continue reading...

Compartilhe esta Página