* Render a single slide (no built-in nav UI).
(index?: number)
| 195 | * Render a single slide (no built-in nav UI). |
| 196 | */ |
| 197 | async renderSlide(index?: number): Promise<void> { |
| 198 | this.activeRenderMode = 'slide' |
| 199 | if (index !== undefined && this.presentation) { |
| 200 | this.currentSlide = Math.max(0, Math.min(index, this.presentation.slides.length - 1)) |
| 201 | } |
| 202 | await this.queueRender() |
| 203 | } |
| 204 | |
| 205 | // ----------------------------------------------------------------------- |
| 206 | // Instance open |