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

Function invokeCreateHooks

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

Source from the content-addressed store, hash-verified

4726 }
4727
4728 function invokeCreateHooks (vnode, insertedVnodeQueue) {
4729 for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) {
4730 cbs.create[i$1](emptyNode, vnode);
4731 }
4732 i = vnode.data.hook; // Reuse variable
4733 if (isDef(i)) {
4734 if (isDef(i.create)) { i.create(emptyNode, vnode); }
4735 if (isDef(i.insert)) { insertedVnodeQueue.push(vnode); }
4736 }
4737 }
4738
4739 // set scope id attribute for scoped CSS.
4740 // 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