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

Method close

src/dropdown.ts:233–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

231 }
232
233 private close() {
234 if (!this.isOpen) return;
235 this.isOpen = false;
236 this.selectEl.removeClass("is-open");
237
238 if (this.dropdownEl) {
239 this.dropdownEl.addClass("is-hidden");
240 }
241 }
242
243 private renderDropdown() {
244 if (!this.dropdownEl) return;

Callers 2

attachEventsMethod · 0.95
toggleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected