标签: angular5 ngfor 2-way-object-databinding
我在通过Angular5中传递param onclick事件时遇到问题,这是我的代码:
<li *ngFor="let contact of contactList"> <div class="user_info_block" (click)="getChatmessages($event, {{contact['id']}})" > </div> </li>
谢谢 里特什