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

Function initComponent

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

Source from the content-addressed store, hash-verified

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