* Show the inspector panel
()
| 96 | * Show the inspector panel |
| 97 | */ |
| 98 | show() { |
| 99 | if (!isInitialized) { |
| 100 | window.toast?.("Developer mode is not enabled"); |
| 101 | return; |
| 102 | } |
| 103 | const entryBtn = |
| 104 | erudaInstance?._shadowRoot?.querySelector(".eruda-entry-btn"); |
| 105 | if (entryBtn) entryBtn.style.display = ""; |
| 106 | erudaInstance?.show(); |
| 107 | }, |
| 108 | |
| 109 | /** |
| 110 | * Hide the inspector panel |