:unicorn: Learn how to build web apps using the Elm Architecture in "vanilla" JavaScript (step-by-step TDD tutorial)!
GNU General Public License v2.0
212
stars
19
forks
source link
DELETE a Todo List item using the "cross" (button) #59
Closed
nelsonic closed 6 years ago
<button class="destroy">
on hover (over the item)<button class="destroy">
sends thesignal('DELETE', todo.id)
DELETE
update case receives thetodo.id
and removes it from themodel.todos
Array.