@vivliostyle/core 2.23.2 → 2.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -178,6 +178,14 @@ export declare class CoreViewer {
178
178
  * Navigate to the specified internal URL.
179
179
  */
180
180
  navigateToInternalUrl(url: string): void;
181
+ /**
182
+ * Navigate to the specified position.
183
+ */
184
+ navigateToPosition(position: {
185
+ spineIndex: number;
186
+ pageIndex?: number;
187
+ offsetInItem?: number;
188
+ }): void;
181
189
  /**
182
190
  * @returns True if TOC is visible, false if hidden, null if TOC is unavailable
183
191
  */
@@ -238,7 +238,7 @@ export declare class OPFView implements Vgen.CustomRendererFactory {
238
238
  * @param sync If true, find the page synchronously (not waiting another
239
239
  * rendering task)
240
240
  */
241
- private findPage;
241
+ findPage(position: Position, sync: boolean): Task.Result<PageAndPosition | null>;
242
242
  /**
243
243
  * Renders a page at the specified position.
244
244
  */