Skip to content

Commit ffba4a2

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

+8
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>edit_mode</md-icon>
69+
</md-input-container>
6270
</md-card-content>
6371
</md-card>
6472

0 commit comments

Comments
 (0)