()
| 334 | } |
| 335 | |
| 336 | async goForward() { |
| 337 | const pageIndex = this.react.pathPageIds.indexOf(this.react.pageId!); |
| 338 | |
| 339 | if (pageIndex < this.react.pathPageIds.length - 1) { |
| 340 | await this.goToPage( |
| 341 | this.react.pathPageIds[ |
| 342 | this.react.pathPageIds.indexOf(this.react.pageId!) + 1 |
| 343 | ], |
| 344 | ); |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | destroy() { |
| 349 | for (const page of this.pageCache.react.cache) { |