MCPcopy Create free account
hub / github.com/pingdotgg/t3code / createElement

Method createElement

apps/web/src/contextMenuFallback.test.ts:121–123  ·  view source on GitHub ↗
(tagName: string)

Source from the content-addressed store, hash-verified

119 private readonly listeners = new Map<string, FakeListener[]>();
120
121 createElement(tagName: string) {
122 return new FakeElement(tagName);
123 }
124
125 addEventListener(type: string, listener: FakeListener) {
126 const existing = this.listeners.get(type) ?? [];

Callers 15

createBoxFunction · 0.80
createLabelFunction · 0.80
createButtonFunction · 0.80
createUnitControlFunction · 0.80
createFieldFunction · 0.80
createStyleSectionFunction · 0.80
createUnitInputFunction · 0.80
startAnnotationFunction · 0.80
createColorRowFunction · 0.80
addSpacingFieldFunction · 0.80
downloadPlanAsTextFileFunction · 0.80
ensurePierreIconSpriteFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected