From d98f855e8da801e2ecfb318133fd68de7d3b131b Mon Sep 17 00:00:00 2001 From: Kara Erickson Date: Thu, 9 Feb 2017 10:12:12 -0800 Subject: [PATCH] docs(list): add docs for md-list-icon --- src/lib/list/list.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/lib/list/list.md b/src/lib/list/list.md index 8365e1b63c39..1bdce3e526f9 100644 --- a/src/lib/list/list.md +++ b/src/lib/list/list.md @@ -69,8 +69,27 @@ as shown in the example). ``` +### Lists with icons + +To add an icon to your list item, use the `md-list-icon` attribute. + + +```html + + + folder +

{{message.from}}

+

+ {{message.subject}} + -- {{message.content}} +

+
+
+``` + ### Lists with avatars -To include an avatar, add an image tag with an `md-list-avatar` attribute. + +To include an avatar image, add an image tag with an `md-list-avatar` attribute. ```html