Create inputbar directive
This commit is contained in:
parent
6055e699ff
commit
fcfe8ba4be
3 changed files with 131 additions and 8 deletions
8
directives/input.html
Normal file
8
directives/input.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<form class="form form-horizontal" ng-submit="sendMessage()">
|
||||
<div class="input-group">
|
||||
<input id="sendMessage" type="text" class="form-control monospace" autocomplete="off" ng-model="command" autofocus>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-primary">Send</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue