|
|
|
@ -6,6 +6,7 @@
|
|
|
|
|
<p>{{user}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="chatbox-message-box">
|
|
|
|
|
<div class="chatbox__messages" *ngFor="let m of messages">
|
|
|
|
|
<div class="chatbox__messages__user-message">
|
|
|
|
|
<div class="chatbox__messages__user-message--ind-message" [ngClass]="{'sender': m.chatType === ChatType.Sender, 'reciever':m.chatType === ChatType.Reciever }">
|
|
|
|
@ -16,6 +17,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form">
|
|
|
|
|
<input type="text" [(ngModel)]="currentMessage" placeholder="Enter your message">
|
|
|
|
|
<button mat-raised-button class="add-message" (click)="addMessage()">Send</button>
|
|
|
|
|