fxos-components / gaia-list

1 stars 4 forks source link

Add support for an automatically styled list item header #8

Open DouglasSherk opened 9 years ago

DouglasSherk commented 9 years ago

First, watch a few seconds of http://youtu.be/CZ-GtD8sDiA?t=41s You'll see a list header element with the word "Flame" in it, and then sub-items underneath it. It would be nice to have this functionality embedded in <gaia-list>. Perhaps this could be marked using an attribute or class. Here are some options that I can think of, sorted by how much I'm hand-wavily in favor: 1.

<gaia-list>
  <a class="heading">
  </a>
</gaia-list>

2.

<gaia-list class="headed">

3.

<gaia-list>
  <header>
  </header>
  <body>
  </body>
  <footer>
  </footer>
</gaia-list>
wilsonpage commented 9 years ago

We don't have design for this. I think I originally thought gaia-sub-header would serve this purpose. I don't want to land anything in this component until visually have signed it off.