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

Function initComponent

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

Source from the content-addressed store, hash-verified

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