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

Function genComponent

static/vuejs/vue.esm.js:8824–8827  ·  view source on GitHub ↗
(componentName, el)

Source from the content-addressed store, hash-verified

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

Callers 1

genElementFunction · 0.70

Calls 2

genChildrenFunction · 0.70
genDataFunction · 0.70

Tested by

no test coverage detected