(page, query = null)
| 1119 | |
| 1120 | // MARK: reset win URL |
| 1121 | setWindowURL(page, query = null) { |
| 1122 | if ( ! this.isValid(page) ) { return } |
| 1123 | const thisFile = this.winDefs[page].HTMLFile |
| 1124 | const thisQuery = query === null ? '' : `?${new URLSearchParams(query).toString()}` |
| 1125 | |
| 1126 | this.win[page].loadURL(`file://${path.join(this.#path.render, thisFile)}${thisQuery}`) |
| 1127 | } |
| 1128 | |
| 1129 | /** |
| 1130 | * Show a dialog box (sync) |
no test coverage detected