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

Function createElement

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

Source from the content-addressed store, hash-verified

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

Callers 2

hFunction · 0.70
initRenderFunction · 0.70

Calls 2

isPrimitiveFunction · 0.70
_createElementFunction · 0.70

Tested by

no test coverage detected