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

Function removeVnodes

static/vuejs/vue.runtime.esm.js:4783–4795  ·  view source on GitHub ↗
(parentElm, vnodes, startIdx, endIdx)

Source from the content-addressed store, hash-verified

4781 }
4782
4783 function removeVnodes (parentElm, vnodes, startIdx, endIdx) {
4784 for (; startIdx <= endIdx; ++startIdx) {
4785 var ch = vnodes[startIdx];
4786 if (isDef(ch)) {
4787 if (isDef(ch.tag)) {
4788 removeAndInvokeRemoveHook(ch);
4789 invokeDestroyHook(ch);
4790 } else { // Text node
4791 removeNode(ch.elm);
4792 }
4793 }
4794 }
4795 }
4796
4797 function removeAndInvokeRemoveHook (vnode, rm) {
4798 if (isDef(rm) || isDef(vnode.data)) {

Callers 3

updateChildrenFunction · 0.70
patchVnodeFunction · 0.70
createPatchFunctionFunction · 0.70

Calls 4

isDefFunction · 0.70
invokeDestroyHookFunction · 0.70
removeNodeFunction · 0.70

Tested by

no test coverage detected