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

Function genComponent

static/vuejs/vue.common.js:8826–8829  ·  view source on GitHub ↗
(componentName, el)

Source from the content-addressed store, hash-verified

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

Callers 1

genElementFunction · 0.70

Calls 2

genChildrenFunction · 0.70
genDataFunction · 0.70

Tested by

no test coverage detected