Created
September 21, 2019 07:01
-
-
Save anantl05/3d75d43b92fbce0d9ff1d876b69522f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<tr> | |
<td>Topic: </td> | |
<td><input [(ngModel)]="topicname" type="text" /></td> | |
<td><button type="button" (click)="subscribeNewTopic()">Subscribe Topic</button></td> | |
</tr> | |
<tr> | |
<td>Message: </td> | |
<td><input [(ngModel)]="msg" type="text" /></td> | |
<td><button type="button" (click)="sendmsg()">Send</button></td> | |
</tr> | |
<tr> | |
<td></td> | |
<td> <button type="button" (click)="clear()">Clear Log</button></td> | |
<td></td> | |
</tr> | |
</table> | |
<br /><br /> | |
<div #msglog> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment