Skip to content

Commit

Permalink
docs(input): add icon prefix/suffix example
Browse files Browse the repository at this point in the history
  • Loading branch information
marshall007 committed Mar 8, 2017
1 parent a83cd0e commit ffba4a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/demo-app/input/input-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,19 @@
<md-card class="demo-card demo-basic">
<md-toolbar color="primary">Prefix + Suffix</md-toolbar>
<md-card-content>
<h4>Text</h4>
<md-input-container align="end">
<input mdInput placeholder="amount">
<span mdPrefix>$&nbsp;</span>
<span mdSuffix>.00</span>
</md-input-container>

<h4>Icons</h4>
<md-input-container>
<input mdInput placeholder="amount">
<md-icon mdPrefix>attach_money</md-icon>
<md-icon mdSuffix>edit_mode</md-icon>
</md-input-container>
</md-card-content>
</md-card>

Expand Down

0 comments on commit ffba4a2

Please sign in to comment.