MCPcopy Index your code
hub / github.com/atomicojs/atomico / createElement

Method createElement

ssr/document.js:19–25  ·  view source on GitHub ↗
(localName)

Source from the content-addressed store, hash-verified

17
18class Document {
19 createElement(localName) {
20 if (tags[localName]) {
21 const instance = new tags[localName]();
22 instance.localName = localName;
23 return instance;
24 }
25 }
26}
27
28const context = {

Callers 15

test-dom.jsFile · 0.80
21-errors.tsxFile · 0.80
8-use-prop.tsFile · 0.80
src.test.jsFile · 0.80
createSheetFunction · 0.80
templateFunction · 0.80
diffFunction · 0.80
ssr.test.jsFile · 0.80
customElementScopeFunction · 0.80

Calls

no outgoing calls

Tested by 1

customElementScopeFunction · 0.64