futurice / process-arrow

Polymer element for showing a process arrow (progress diagram)
http://futurice.github.io/process-arrow/
Other
8 stars 2 forks source link

All light dom for items #1

Closed ebidel closed 10 years ago

ebidel commented 10 years ago

This is awesome! Just looking at the usage though, a better design would be to embrace composibilty and allow folks to pass in data as nodes rather than a serialized array:

<futu-process-arrow selected="3">
  <span>Baby</span>
  <span>Child</span>
  <span>Working-class hero</span>
  <span>Retired</span>
</futu-process-arrow>

You can also use core-selector inside this element to manage the selection state. Reusability ftw!

staltz commented 10 years ago

Good idea

mr-maw commented 10 years ago

I'm looking into using the light DOM now.

mr-maw commented 10 years ago

@ebidel Light dom in use in 0.3.0! https://github.com/futurice-oss/futu-process-arrow/releases/tag/0.3.0