Get stored HTML + waitUntil for state replay. Returns null if no load-html happened.
()
| 198 | |
| 199 | /** Get stored HTML + waitUntil for state replay. Returns null if no load-html happened. */ |
| 200 | getLoadedHtml(): { html: string; waitUntil?: SetContentWaitUntil } | null { |
| 201 | if (this.loadedHtml === null) return null; |
| 202 | return { html: this.loadedHtml, waitUntil: this.loadedHtmlWaitUntil }; |
| 203 | } |
| 204 | |
| 205 | /** Clear stored HTML. Called BEFORE goto/back/forward/reload navigation. */ |
| 206 | clearLoadedHtml(): void { |