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

Function invokeCreateHooks

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

Source from the content-addressed store, hash-verified

4736 }
4737
4738 function invokeCreateHooks (vnode, insertedVnodeQueue) {
4739 for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) {
4740 cbs.create[i$1](emptyNode, vnode);
4741 }
4742 i = vnode.data.hook; // Reuse variable
4743 if (isDef(i)) {
4744 if (isDef(i.create)) { i.create(emptyNode, vnode); }
4745 if (isDef(i.insert)) { insertedVnodeQueue.push(vnode); }
4746 }
4747 }
4748
4749 // set scope id attribute for scoped CSS.
4750 // this is implemented as a special case to avoid the overhead

Callers 3

createElmFunction · 0.70
initComponentFunction · 0.70
hydrateFunction · 0.70

Calls 1

isDefFunction · 0.70

Tested by

no test coverage detected