()
| 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; |
no test coverage detected