()
| 368 | } |
| 369 | |
| 370 | private openPanel() { |
| 371 | if (!this.panel || this.isOpen) { |
| 372 | return; |
| 373 | } |
| 374 | if (this.hoverCloseTimer) { |
| 375 | clearTimeout(this.hoverCloseTimer); |
| 376 | this.hoverCloseTimer = null; |
| 377 | } |
| 378 | this.isOpen = true; |
| 379 | this.panel.classList.add('show'); |
| 380 | this.root.classList.add('menu-open'); |
| 381 | this.updateInputs(); |
| 382 | } |
| 383 | |
| 384 | private closePanel() { |
| 385 | if (!this.panel) { |
no test coverage detected