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

Method open

src/dropdown.ts:86–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 private open() {
87 if (this.isOpen) return;
88 this.isOpen = true;
89 this.selectEl.addClass("is-open");
90
91 if (!this.dropdownEl) {
92 this.dropdownEl = this.containerEl.createDiv({ cls: "custom-dropdown-menu" });
93 this.renderDropdown();
94 }
95
96 this.dropdownEl.removeClass("is-hidden");
97 }
98
99 private close() {
100 if (!this.isOpen) return;

Callers 7

toggleMethod · 0.95
constructorMethod · 0.45
openIgnoreManagerMethod · 0.45
createCodeFileMethod · 0.45
renderMethod · 0.45
showContextMenuMethod · 0.45
displayMethod · 0.45

Calls 1

renderDropdownMethod · 0.95

Tested by

no test coverage detected