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

Function createElement

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

Source from the content-addressed store, hash-verified

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

Callers 2

hFunction · 0.70
initRenderFunction · 0.70

Calls 2

isPrimitiveFunction · 0.70
_createElementFunction · 0.70

Tested by

no test coverage detected