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

Function initComponent

static/vuejs/vue.runtime.common.js:4668–4683  ·  view source on GitHub ↗
(vnode, insertedVnodeQueue)

Source from the content-addressed store, hash-verified

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