eforeupdate: function(vnode, old) {
        return true
    },
    onupdate: function(vnode) {
        console.log(&quot;DOM updated&quot;)
    },
    onbeforeremove: function(vnode) {
        console.log(&quot;exit animation can start&quot;)
        return new Promise(function(resolve) {
            // call after animation completes
            resolve()
        })
    },
    onremove: function(vnode) {
        console.log(&quot;removing DOM element&quot;)
    },
    view: function(vnode) {
        return 