Skip to content
Browse files
Step 6.12: Add message editor to messages view template
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 31d3fca commit ae2b096
Showing 1 changed file with 16 additions and 0 deletions.
@@ -23,3 +23,19 @@

<ion-toolbar color="whatsapp" class="messages-page-footer" position="bottom">
<ion-input [(ngModel)]="message" (keypress)="onInputKeypress($event)" class="message-editor" placeholder="Type a message"></ion-input>

<ion-buttons end>
<button ion-button icon-only *ngIf="message" class="message-editor-button" (click)="sendTextMessage()">
<ion-icon name="send"></ion-icon>

<button ion-button icon-only *ngIf="!message" class="message-editor-button">
<ion-icon name="mic"></ion-icon>

0 comments on commit ae2b096

Please sign in to comment.