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

Method constructor

src/gui/ProviderPickerModal.ts:14–25  ·  view source on GitHub ↗
(app: App, providers: AIProvider[])

Source from the content-addressed store, hash-verified

12 private providers: AIProvider[];
13
14 constructor(app: App, providers: AIProvider[]) {
15 super(app);
16 this.providers = providers;
17
18 this.waitForClose = new Promise((resolve, reject) => {
19 this.resolvePromise = resolve;
20 this.rejectPromise = reject;
21 });
22
23 this.open();
24 this.display();
25 }
26
27 private addHeader(container: HTMLElement) {
28 container.createEl("h2", {

Callers

nothing calls this directly

Calls 2

displayMethod · 0.95
openMethod · 0.45

Tested by

no test coverage detected