MCPcopy Create free account
hub / github.com/TruthHun/BookStack / invokeDestroyHook

Function invokeDestroyHook

static/vuejs/vue.runtime.js:4765–4777  ·  view source on GitHub ↗
(vnode)

Source from the content-addressed store, hash-verified

4763 }
4764
4765 function invokeDestroyHook (vnode) {
4766 var i, j;
4767 var data = vnode.data;
4768 if (isDef(data)) {
4769 if (isDef(i = data.hook) && isDef(i = i.destroy)) { i(vnode); }
4770 for (i = 0; i < cbs.destroy.length; ++i) { cbs.destroy[i](vnode); }
4771 }
4772 if (isDef(i = vnode.children)) {
4773 for (j = 0; j < vnode.children.length; ++j) {
4774 invokeDestroyHook(vnode.children[j]);
4775 }
4776 }
4777 }
4778
4779 function removeVnodes (parentElm, vnodes, startIdx, endIdx) {
4780 for (; startIdx <= endIdx; ++startIdx) {

Callers 2

removeVnodesFunction · 0.70
createPatchFunctionFunction · 0.70

Calls 2

isDefFunction · 0.70
iFunction · 0.70

Tested by

no test coverage detected