MCPcopy Index your code
hub / github.com/TruthHun/BookStack / createElement

Function createElement

static/vuejs/vue.js:3271–3286  ·  view source on GitHub ↗
(
  context,
  tag,
  data,
  children,
  normalizationType,
  alwaysNormalize
)

Source from the content-addressed store, hash-verified

3269// wrapper function for providing a more flexible interface
3270// without getting yelled at by flow
3271function createElement (
3272 context,
3273 tag,
3274 data,
3275 children,
3276 normalizationType,
3277 alwaysNormalize
3278) {
3279 if (Array.isArray(data) || isPrimitive(data)) {
3280 normalizationType = children;
3281 children = data;
3282 data = undefined;
3283 }
3284 if (alwaysNormalize) { normalizationType = ALWAYS_NORMALIZE; }
3285 return _createElement(context, tag, data, children, normalizationType)
3286}
3287
3288function _createElement (
3289 context,

Callers 4

hFunction · 0.70
initRenderFunction · 0.70
openFunction · 0.50
openFunction · 0.50

Calls 2

isPrimitiveFunction · 0.70
_createElementFunction · 0.70

Tested by

no test coverage detected