Hello,
In the .html example:
<mat-card *ngFor="let property of properties"
(click)="actionOnProperty(property)"></mat-card>
In the .TS
public actionOnProperty(property: Property){
// Actions
}
On this way you will do an action only on the property selected
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/178ce7a3-1565-4ecc-97ae-1ef4cae6e019%40googlegroups.com.