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

Function genComponent

static/vuejs/vue.js:8820–8823  ·  view source on GitHub ↗
(componentName, el)

Source from the content-addressed store, hash-verified

8818
8819// componentName is el.component, take it as argument to shun flow's pessimistic refinement
8820function genComponent (componentName, el) {
8821 var children = el.inlineTemplate ? null : genChildren(el, true);
8822 return ("_c(" + componentName + "," + (genData(el)) + (children ? ("," + children) : '') + ")")
8823}
8824
8825function genProps (props) {
8826 var res = '';

Callers 1

genElementFunction · 0.70

Calls 2

genChildrenFunction · 0.70
genDataFunction · 0.70

Tested by

no test coverage detected