* Render all slides in a scrollable list.
(options?: ListRenderOptions)
| 180 | * Render all slides in a scrollable list. |
| 181 | */ |
| 182 | async renderList(options?: ListRenderOptions): Promise<void> { |
| 183 | this.activeRenderMode = 'list' |
| 184 | this.listOptions = { |
| 185 | windowed: options?.windowed ?? false, |
| 186 | batchSize: this.normalizeBatchSize(options?.batchSize ?? 12), |
| 187 | initialSlides: this.normalizePositiveInt(options?.initialSlides ?? 4, 4), |
| 188 | overscanViewport: this.normalizePositiveFloat(options?.overscanViewport ?? 1.5, 1.5), |
| 189 | showSlideLabels: options?.showSlideLabels ?? false, |
| 190 | } |
| 191 | await this.queueRender() |
| 192 | } |
| 193 | |
| 194 | /** |
| 195 | * Render a single slide (no built-in nav UI). |
no test coverage detected