Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save juliomoreira666/0f8746311afc15168296b811a4e4b288 to your computer and use it in GitHub Desktop.
Save juliomoreira666/0f8746311afc15168296b811a4e4b288 to your computer and use it in GitHub Desktop.
Angular com dois layouts
<div *ngIf="fotos.length === 1">
mostrar o conteudo daqui
<foto [titulo]="fotos[0].titulo">
</foto>
</div>
<foto *ngFor="let foto of fotos" >
</foto>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment