|
|
|
|
|
by glenjamin
3733 days ago
|
|
The fancy part is assembling stories for showing all the different states. This is even more powerful if you show them on the screen at once. Imagine having all the examples below shown on screen, and then editing your component definition and having the hot reloading update them all at once so you can see the effects. Todo item normal:
[ ] A thing to do
Todo item checked:
[x] -A-thing-to-do-
Todo item editing:
[ A thing to do ]
Todo item hovering:
[ ] A thing to do [del]
Todo list show all:
[ ] ABC
[x] DEF
[x] GHI
3/3 items
Todo list show incomplete:
[ ] ABC
1/3 items
Todo list show complete
[x] DEF
[x] GHI
2/3 items
|
|