Skip to content

Commit

Permalink
added image example
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmueller committed Oct 21, 2012
1 parent 515bdc5 commit b0a5d5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# list

Generic list component, based on the [menu component](https://github.com/component/menu).

![list example](http://f.cl.ly/items/0R073N0e1f0b0a390z3Y/Screen%20Shot%202012-10-21%20at%201.51.31%20PM.png)

## Installation

Expand Down Expand Up @@ -35,8 +37,8 @@ list.on('select:0', fn)
<script type="text/template" id="message">
<a href='#'>
<span class='from'>{from}</span>
<span class='subject'>{subject}</span>
<span class='message'>{message}</span>
<span class='subject'><strong>{subject}</strong></span>
<span class='message'><small>{message}</small></span>
</a>
</script>
```
Expand Down
6 changes: 3 additions & 3 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ <h2>List Component</h2>
<script src="../build/build.js" type="text/javascript"></script>
<script type="text/template" id="message">
<a href='#'>
<span class='from'>{from}</span>
<span class='subject'>{subject}</span>
<span class='message'>{message}</span>
<span class='from'>{from}</span>
<span class='subject'>{subject}</span>
<span class='message'>{message}</span>
</a>
</script>

Expand Down

0 comments on commit b0a5d5d

Please sign in to comment.