MCPcopy Create free account
hub / github.com/chhoumann/quickadd / setName

Method setName

src/preflight/OnePageInputModal.test.ts:141–149  ·  view source on GitHub ↗
(name: string | DocumentFragment)

Source from the content-addressed store, hash-verified

139 }
140
141 setName(name: string | DocumentFragment): this {
142 if (typeof name === "string") {
143 this.nameEl.textContent = name;
144 } else {
145 this.nameEl.replaceChildren(name);
146 }
147 this.infoEl.appendChild(this.nameEl);
148 return this;
149 }
150
151 setDesc(desc: string): this {
152 this.descEl.textContent = desc;

Callers 15

addProvidersSettingMethod · 0.45
addNameSettingMethod · 0.45
addEndpointSettingMethod · 0.45
addApiKeySettingMethod · 0.45
addModelSourceSettingMethod · 0.45
addAutoSyncSettingMethod · 0.45
displayMethod · 0.45
displayMethod · 0.45
addProvidersSettingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected