@micrio/client 7.0.3 → 7.0.4
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 +4 -1
- package/micrio.min.js +2 -2
- package/package.json +1 -1
package/micrio.min.d.ts
CHANGED
|
@@ -703,7 +703,7 @@ declare module '@micrio/client' {
|
|
|
703
703
|
}
|
|
704
704
|
/** Gallery configuration */
|
|
705
705
|
export type GalleryConfig = {
|
|
706
|
-
type: 'swipe' | 'switch' | 'grid';
|
|
706
|
+
type: 'swipe' | 'switch' | 'grid' | 'book3d';
|
|
707
707
|
startId?: string;
|
|
708
708
|
sort?: 'name' | '-name' | 'created' | '-created' | 'random';
|
|
709
709
|
isSpreads?: boolean;
|
|
@@ -1442,6 +1442,8 @@ declare module '@micrio/client' {
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
export class Camera {
|
|
1444
1444
|
#private;
|
|
1445
|
+
/** Possible .zoom() override for Book3D */
|
|
1446
|
+
_zoomOverride: ((n: number) => void) | undefined;
|
|
1445
1447
|
/**
|
|
1446
1448
|
* Gets the current image view rectangle [x0, y0, width, height].
|
|
1447
1449
|
*/
|
|
@@ -1745,6 +1747,7 @@ declare module '@micrio/client' {
|
|
|
1745
1747
|
/** Manages a collection of gallery images with navigation (swipe, switch, grid, album). */
|
|
1746
1748
|
export class Gallery {
|
|
1747
1749
|
#private;
|
|
1750
|
+
readonly _items: Models.ImageInfo.ImageInfo[];
|
|
1748
1751
|
/** Go to a specific page index. */
|
|
1749
1752
|
goto(index: number): void;
|
|
1750
1753
|
/** Go to the next page. */
|