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

Function genScopedSlot

static/vuejs/vue.common.js:8738–8743  ·  view source on GitHub ↗
(key, el)

Source from the content-addressed store, hash-verified

8736}
8737
8738function genScopedSlot (key, el) {
8739 return "[" + key + ",function(" + (String(el.attrsMap.scope)) + "){" +
8740 "return " + (el.tag === 'template'
8741 ? genChildren(el) || 'void 0'
8742 : genElement(el)) + "}]"
8743}
8744
8745function genChildren (el, checkSkip) {
8746 var children = el.children;

Callers 1

genScopedSlotsFunction · 0.70

Calls 2

genChildrenFunction · 0.70
genElementFunction · 0.70

Tested by

no test coverage detected