* Hide the inspector panel
()
| 110 | * Hide the inspector panel |
| 111 | */ |
| 112 | hide() { |
| 113 | if (!isInitialized) return; |
| 114 | erudaInstance?.hide(); |
| 115 | const entryBtn = |
| 116 | erudaInstance?._shadowRoot?.querySelector(".eruda-entry-btn"); |
| 117 | if (entryBtn) entryBtn.style.display = "none"; |
| 118 | }, |
| 119 | |
| 120 | /** |
| 121 | * Toggle the inspector panel visibility |