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

Function initComponent

static/vuejs/vue.esm.js:4670–4685  ·  view source on GitHub ↗
(vnode, insertedVnodeQueue)

Source from the content-addressed store, hash-verified

4668 }
4669
4670 function initComponent (vnode, insertedVnodeQueue) {
4671 if (isDef(vnode.data.pendingInsert)) {
4672 insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert);
4673 }
4674 vnode.elm = vnode.componentInstance.$el;
4675 if (isPatchable(vnode)) {
4676 invokeCreateHooks(vnode, insertedVnodeQueue);
4677 setScope(vnode);
4678 } else {
4679 // empty component root.
4680 // skip all element-related modules except for ref (#3455)
4681 registerRef(vnode);
4682 // make sure to invoke the insert hook
4683 insertedVnodeQueue.push(vnode);
4684 }
4685 }
4686
4687 function reactivateComponent (vnode, insertedVnodeQueue, parentElm, refElm) {
4688 var i;

Callers 2

createComponentFunction · 0.70
hydrateFunction · 0.70

Calls 5

isDefFunction · 0.70
isPatchableFunction · 0.70
invokeCreateHooksFunction · 0.70
setScopeFunction · 0.70
registerRefFunction · 0.70

Tested by

no test coverage detected