MCPcopy Index your code
hub / github.com/TruthHun/BookStack / invokeDestroyHook

Function invokeDestroyHook

static/vuejs/vue.runtime.esm.js:4769–4781  ·  view source on GitHub ↗
(vnode)

Source from the content-addressed store, hash-verified

4767 }
4768
4769 function invokeDestroyHook (vnode) {
4770 var i, j;
4771 var data = vnode.data;
4772 if (isDef(data)) {
4773 if (isDef(i = data.hook) && isDef(i = i.destroy)) { i(vnode); }
4774 for (i = 0; i < cbs.destroy.length; ++i) { cbs.destroy[i](vnode); }
4775 }
4776 if (isDef(i = vnode.children)) {
4777 for (j = 0; j < vnode.children.length; ++j) {
4778 invokeDestroyHook(vnode.children[j]);
4779 }
4780 }
4781 }
4782
4783 function removeVnodes (parentElm, vnodes, startIdx, endIdx) {
4784 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