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

Function invokeCreateHooks

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

Source from the content-addressed store, hash-verified

4734 }
4735
4736 function invokeCreateHooks (vnode, insertedVnodeQueue) {
4737 for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) {
4738 cbs.create[i$1](emptyNode, vnode);
4739 }
4740 i = vnode.data.hook; // Reuse variable
4741 if (isDef(i)) {
4742 if (isDef(i.create)) { i.create(emptyNode, vnode); }
4743 if (isDef(i.insert)) { insertedVnodeQueue.push(vnode); }
4744 }
4745 }
4746
4747 // set scope id attribute for scoped CSS.
4748 // 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