Skip to content

Commit 02a65f6

Browse files
committed
docs(input): add icon prefix/suffix example
1 parent a83cd0e commit 02a65f6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/demo-app/input/input-demo.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,19 @@
5454
<md-card class="demo-card demo-basic">
5555
<md-toolbar color="primary">Prefix + Suffix</md-toolbar>
5656
<md-card-content>
57+
<h4>Text</h4>
5758
<md-input-container align="end">
5859
<input mdInput placeholder="amount">
5960
<span mdPrefix>$&nbsp;</span>
6061
<span mdSuffix>.00</span>
6162
</md-input-container>
63+
64+
<h4>Icons</h4>
65+
<md-input-container>
66+
<input mdInput placeholder="amount">
67+
<md-icon mdPrefix>attach_money</md-icon>
68+
<md-icon mdSuffix>mode_edit</md-icon>
69+
</md-input-container>
6270
</md-card-content>
6371
</md-card>
6472

0 commit comments

Comments
 (0)