all repos — h3 @ 8d42321b7391f1e793e52a95c67c9e98872beea4

A tiny, extremely minimalist JavaScript microframework.

Added $redraw event.
h3rald h3rald@h3rald.com
Tue, 14 Apr 2020 21:17:47 +0200
commit

8d42321b7391f1e793e52a95c67c9e98872beea4

parent

9f72a6511e88ebaaa0c5ba1a5d04baff0d788990

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M h3.jsh3.js

@@ -355,6 +355,7 @@ let vnode = this.routes[this.route.def]();

this.redraw = () => { const fn = this.routes[this.route.def]; vnode.redraw({ node: this.element.childNodes[0], vnode: fn() }); + this.store.dispatch('$redraw'); }; }