(id: string)
| 65 | |
| 66 | // Call getWindow and show, it is used most commonly so add a method for it. |
| 67 | showWindow(id: string) { |
| 68 | const win = this.getOrCreateWindow(id); |
| 69 | win.window.activate(); |
| 70 | return win; |
| 71 | } |
| 72 | |
| 73 | closeWindow(id: string) { |
| 74 | this.#windows[id]?.window.close(); |
no test coverage detected