You cannot have two attributes, instead combine with ;
:
<div class="user-list"
(click)="threadService.createChatWindow(); matrixService.newRoom(thread)">
</div>
0
solved Call two functions in one click [duplicate]
You cannot have two attributes, instead combine with ;
:
<div class="user-list"
(click)="threadService.createChatWindow(); matrixService.newRoom(thread)">
</div>
0
solved Call two functions in one click [duplicate]