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

Function createElement

static/vuejs/vue.runtime.esm.js:3265–3280  ·  view source on GitHub ↗
(
  context,
  tag,
  data,
  children,
  normalizationType,
  alwaysNormalize
)

Source from the content-addressed store, hash-verified

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

Callers 2

hFunction · 0.70
initRenderFunction · 0.70

Calls 2

isPrimitiveFunction · 0.70
_createElementFunction · 0.70

Tested by

no test coverage detected