From 7525c9c25f8e44b1dd69cf6fd4ed47f7f646e340 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Sun, 1 Sep 2019 11:14:11 +0200 Subject: [PATCH] oncreate hook in search component --- static/js/components/Search.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/components/Search.js b/static/js/components/Search.js index 2448828..228c02f 100644 --- a/static/js/components/Search.js +++ b/static/js/components/Search.js @@ -1,5 +1,9 @@ export default { + oncreate(vnode){ + console.log("oncreate", vnode); + }, + view(vnode){ return m("div", vnode.attrs.query) }