MCPcopy Create free account
hub / github.com/witheve/Eve / overwritePrompt

Method overwritePrompt

src/ide.ts:2104–2114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2102 }
2103
2104 overwritePrompt():Elem {
2105 return {c: "modal-overlay", children: [
2106 {c: "modal-window", children: [
2107 {t: "h3", text: "Overwrite existing copy?"},
2108 {c: "flex-row controls", children: [
2109 {c: "btn load-btn", text: "load existing", click: this.loadExisting},
2110 {c: "btn danger overwrite-btn", text: "overwrite", click: this.overwriteDocument},
2111 ]}
2112 ]}
2113 ]};
2114 }
2115
2116 loadExisting = () => {
2117 let id = this.overwriteId;

Callers 1

elemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected