@micrio/client 7.0.13 → 7.0.15

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.
package/micrio.min.d.ts CHANGED
@@ -2275,6 +2275,8 @@ declare module '@micrio/client' {
2275
2275
  * transparent: they no longer block the pages behind them and you can see
2276
2276
  * through to the underlying spread. */
2277
2277
  _seeThroughMargins?: boolean;
2278
+ /** When false, the 90° rotate-view feature is disabled and its UI is hidden. Defaults to true. */
2279
+ _allowRotation?: boolean;
2278
2280
  _startPageIdx?: number;
2279
2281
  /** Base URL for the IIIF image server (hi-res streaming). */
2280
2282
  _iiifBaseUrl?: string;
@@ -2291,13 +2293,17 @@ declare module '@micrio/client' {
2291
2293
  * the book to the right (clockwise), `-1` to the left (counter-clockwise).
2292
2294
  */
2293
2295
  rotateView(direction: 1 | -1): void;
2296
+ /** Whether the 90° rotate-view feature is enabled. */
2297
+ _allowRotation(): boolean;
2294
2298
  /**
2295
2299
  * Returns whether the camera is zoomed in beyond the fit view. This is the
2296
2300
  * complement of "the whole spread fits the viewport": when every currently
2297
2301
  * visible image shows its full texture (`[0, 0, 1, 1]` bounds) the view is
2298
2302
  * zoomed out, and any image cut off by the viewport means it is zoomed in.
2299
- * Based on the last rendered frame's on-screen bounds, so it stays accurate
2300
- * after zooming back out.
2303
+ * A page that is part of the current view but entirely out of the viewport
2304
+ * (e.g. one page of a spread fills the screen while the other is off-screen)
2305
+ * also counts as zoomed in. Based on the last rendered frame's on-screen
2306
+ * bounds, so it stays accurate after zooming back out.
2301
2307
  */
2302
2308
  isZoomedIn(): boolean;
2303
2309
  setLightingPreset(name: string): void;