Closed ebidel closed 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!
Good idea
I'm looking into using the light DOM now.
@ebidel Light dom in use in 0.3.0! https://github.com/futurice-oss/futu-process-arrow/releases/tag/0.3.0
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:
You can also use core-selector inside this element to manage the selection state. Reusability ftw!