MCPcopy Create free account
hub / github.com/Tencent/Hippy / createElement

Method createElement

packages/hippy-react/src/dom/document-node.ts:19–21  ·  view source on GitHub ↗
(tagName: string)

Source from the content-addressed store, hash-verified

17 }
18
19 public createElement(tagName: string) {
20 return new Element(tagName);
21 }
22
23 public createElementNS(namespace: string, tagName: string) {
24 return new Element(`${namespace}:${tagName}`);

Callers 4

renderMethod · 0.45
createInstanceFunction · 0.45
createTextInstanceFunction · 0.45
startMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected