()
| 222 | } |
| 223 | } |
| 224 | public async goForward(): Promise<void> { |
| 225 | const scrollY = await this.getScrollY(); |
| 226 | this._goForward(scrollY); |
| 227 | |
| 228 | } |
| 229 | private _goForward(currentScrollY = 0): void { |
| 230 | const entry = this.forwardHistory.pop(); |
| 231 | if (entry) { |
no test coverage detected