@micrio/client 6.1.9 → 6.1.11
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 +3 -3
- package/micrio.min.js +3 -3
- package/package.json +1 -1
package/micrio.min.d.ts
CHANGED
|
@@ -730,6 +730,8 @@ declare module '@micrio/client' {
|
|
|
730
730
|
* @returns Promise when the transition is complete
|
|
731
731
|
*/
|
|
732
732
|
back(duration?: number): Promise<void>;
|
|
733
|
+
/** Simulates a click on a grid cell, applying the configured `clickable` effect (zoom or focus). */
|
|
734
|
+
clickCell(_img?: MicrioImage | string): void;
|
|
733
735
|
/** Open a grid image full size and set it as the main active image
|
|
734
736
|
* @param img The image
|
|
735
737
|
* @param opts Focus options
|
|
@@ -2687,9 +2689,7 @@ declare module '@micrio/client' {
|
|
|
2687
2689
|
get type(): Models.GalleryConfig['type'];
|
|
2688
2690
|
constructor(items: Models.GalleryItem[], engine: Engine, micrio: HTMLMicrioElement, config: Models.GalleryConfig);
|
|
2689
2691
|
/** Create a gallery from a IIIF Presentation API 3 manifest. Returns null for single-image manifests and raw Image API responses. */
|
|
2690
|
-
static fromIIIF(
|
|
2691
|
-
/** Extract single-image gallery item from a IIIF response URL */
|
|
2692
|
-
static singleIIIFInfo(url: string): Promise<Models.GalleryItem>;
|
|
2692
|
+
static fromIIIF(resp: any, engine: Engine, micrio: HTMLMicrioElement): Gallery | null;
|
|
2693
2693
|
static fromAssets(assets: Models.Assets.Image[], engine: Engine, micrio: HTMLMicrioElement, opts?: {
|
|
2694
2694
|
startId?: string;
|
|
2695
2695
|
basePath?: string;
|