A todo list has only 2 basic functions:
new
item to the list
[Enter]
key is pressed UX Feature Hitting the [Enter] (Return) key creates a new Todo List item #55TodoMVC "Advanced" FunctionalityAdd item and Check-off is exactly the "functionality"
you would have in a paper-based Todo List.
In addition to these basic functions,
TodoMVC has the ability to:
edit
it.X
on item row to remove from list.<footer>
Menu > GOTO: #53
below the main interface there is a <footer>
with a count, 3 view toggles and one action:
{store.items.filter(complete==false)}
item{store.items.length > 1 ? 's' : '' }
left
All
Active
Completed
Completed
> delete item.done === true
Finally, if you click around the <footer>
toggle menu,
you will notice that the Web Bowser Address bar
changes to reflect the chosen view.
When a route link is clicked
update
invokes route(model, title, hash)
function which updates model.hash
to the value of hash
filter view based on model.hash
<footer>
view button as active
ALL
: no filteractive
: !item.done
complete
: item.done === true
Subscriptions for event handling e.g: keyboard press & navigation changes Subscriptions: How to "Listen" for Events and What to do ... #57
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4