MCPcopy Create free account
hub / github.com/UNLINEARITY/Obsidian-CodeSpace / open

Method open

src/dropdown.ts:220–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 }
219
220 private open() {
221 if (this.isOpen) return;
222 this.isOpen = true;
223 this.selectEl.addClass("is-open");
224
225 if (!this.dropdownEl) {
226 this.dropdownEl = this.containerEl.createDiv({ cls: "custom-dropdown-menu" });
227 this.renderDropdown();
228 }
229
230 this.dropdownEl.removeClass("is-hidden");
231 }
232
233 private close() {
234 if (!this.isOpen) return;

Callers 1

toggleMethod · 0.95

Calls 1

renderDropdownMethod · 0.95

Tested by

no test coverage detected