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

Function invokeDestroyHook

static/vuejs/vue.runtime.common.js:4771–4783  ·  view source on GitHub ↗
(vnode)

Source from the content-addressed store, hash-verified

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