MCPcopy
hub / github.com/webpack/webpack / createElement

Method createElement

test/helpers/FakeDocument.js:44–46  ·  view source on GitHub ↗

* @param {string} type element type * @returns {FakeElement} element

(type)

Source from the content-addressed store, hash-verified

42 * @returns {FakeElement} element
43 */
44 createElement(type) {
45 return new FakeElement(this, type, this._basePath);
46 }
47
48 /**
49 * @param {FakeElement} element element

Callers 15

constructorMethod · 0.95
index.jsFile · 0.80
moduleScopeFunction · 0.80
moduleScopeFunction · 0.80
moduleScopeFunction · 0.80
moduleScopeFunction · 0.80
moduleScopeFunction · 0.80
moduleScopeFunction · 0.80
createCssRunnerMethod · 0.80
moduleScopeFunction · 0.80
withCallManagerFunction · 0.80
moduleScopeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected