domvm Demos

Todo List Simple Todo List 86 LOC
  • Exposed view API
Filterable Table Product table wrapped in multi-input filter 119 LOC
  • Exposed view API
TodoMVC Full TodoMVC implementation w/localstorage 213 LOC
Infinite Scroll Randomly generated list of colors 49 LOC
Year Calendar Year calendar with prev/next year and selectable dates. 88 LOC
  • Event delegation
  • Exposed view API
  • View state
Lifecycle Hooks DOM elements CSS animate as views & nodes insert, reorder, mutate and remove. 135 LOC
  • Lifecycle hooks
ThreaditJS The fastest implementation of ThreaditJS. 234 LOC
  • Routing & href generation
  • Ajax/Fetch with error handling
  • Mutation observers
  • Recursive views
  • Sub-view redraw
  • Raw HTML injection
Weekli An partial implementation of Weekli 100 LOC
  • Event delegation
  • Exposed view API
  • View state
Scoreboard An partial implementation of @barneycarroll's scoreboard 113 LOC
  • Node-level patching
  • CSS Transitions
  • Lifecycle Hooks
ModalStack Nested modals with custom in/out transitions 140 LOC
  • Node-level patching
  • CSS Transitions
  • Lifecycle Hooks