@micrio/client 5.3.2 → 5.3.3

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
@@ -4,7 +4,7 @@ declare module '@micrio/client' {
4
4
  * Defines the current version of the Micrio library.
5
5
  * This constant is used internally and exposed statically via `HTMLMicrioElement.VERSION`.
6
6
  */
7
- export const VERSION = "5.3.2";
7
+ export const VERSION = "5.3.3";
8
8
  /**
9
9
  * Loads an image texture asynchronously. Adds the request to the queue
10
10
  * and returns a Promise that resolves with the TextureBitmap or rejects on error.
@@ -753,7 +753,7 @@ declare module '@micrio/client' {
753
753
  /**
754
754
  * Parses an individual image grid string into a GridImage object.
755
755
  * @param s The grid string for a single image.
756
- * @returns The parsed {@link Models.Grid.GridImage} object.
756
+ * @returns The parsed `Models.Grid.GridImage` object.
757
757
  */
758
758
  getImage(s: string): Models.Grid.GridImage;
759
759
  /**
@@ -2060,69 +2060,117 @@ declare module '@micrio/client' {
2060
2060
  detail: T;
2061
2061
  };
2062
2062
  interface MicrioEventDetails {
2063
+ /** The main Micrio image is loaded and fully shown */
2063
2064
  'show': HTMLMicrioElement;
2065
+ /** Before the ImageInfo settings are read, this event allows you to alter them */
2064
2066
  'pre-info': ImageInfo.ImageInfo;
2067
+ /** Before the ImageData contents are read, this event allows you to alter it */
2065
2068
  'pre-data': {
2066
2069
  [micrioId: string]: ImageData.ImageData;
2067
2070
  };
2071
+ /** The main Micrio element has initialized and is being printed */
2068
2072
  'print': ImageInfo.ImageInfo;
2073
+ /** Individual image data is loaded and Micrio will start rendering */
2069
2074
  'load': MicrioImage;
2075
+ /** The user has switched available languages */
2070
2076
  'lang-switch': string;
2077
+ /** The camera has zoomed */
2071
2078
  'zoom': {
2072
2079
  image: MicrioImage;
2073
2080
  view: Camera.View;
2074
2081
  };
2082
+ /** The camera has moved */
2075
2083
  'move': {
2076
2084
  image: MicrioImage;
2077
2085
  view: Camera.View;
2078
2086
  };
2087
+ /** A frame has been drawn */
2079
2088
  'draw': void;
2089
+ /** The <micr-io> element was resized */
2080
2090
  'resize': DOMRect;
2091
+ /** The user has started panning */
2081
2092
  'panstart': void;
2093
+ /** The user has stopped panning */
2082
2094
  'panend': {
2083
2095
  duration: number;
2084
2096
  movedX: number;
2085
2097
  movedY: number;
2086
2098
  };
2099
+ /** The user has stopped pinching */
2087
2100
  'pinchstart': void;
2101
+ /** The user has stopped pinching */
2088
2102
  'pinchend': {
2089
2103
  duration: number;
2090
2104
  movedX: number;
2091
2105
  movedY: number;
2092
2106
  };
2107
+ /** A marker has been opened and the camera animation is starting */
2093
2108
  'marker-open': ImageData.Marker;
2109
+ /** A marker has been fully opened and the camera is done, and popup shown */
2094
2110
  'marker-opened': ImageData.Marker;
2111
+ /** A marker has been successfully closed */
2095
2112
  'marker-closed': ImageData.Marker;
2113
+ /** A tour has been successfully started */
2096
2114
  'tour-start': ImageData.Tour;
2115
+ /** A tour has been successfully stopped */
2097
2116
  'tour-stop': ImageData.Tour;
2117
+ /** A tour's UI interface has automatically minimized */
2098
2118
  'tour-minimize': ImageData.Tour;
2119
+ /** Fires for each marker step in a marker tour */
2099
2120
  'tour-step': ImageData.MarkerTour;
2121
+ /** A multi-image tour is played/resumed */
2100
2122
  'serialtour-play': ImageData.MarkerTour;
2123
+ /** A multi-image tour is paused */
2101
2124
  'serialtour-pause': ImageData.MarkerTour;
2125
+ /** A video tour has started from the beginning (can be part of a marker tour) */
2102
2126
  'videotour-start': ImageData.VideoTour;
2127
+ /** A video tour has ended or is aborted (can be part of a marker tour) */
2103
2128
  'videotour-stop': ImageData.VideoTour;
2129
+ /** A video tour is played or resumed */
2104
2130
  'videotour-play': void;
2131
+ /** A video tour is paused */
2105
2132
  'videotour-pause': void;
2133
+ /** A video tour has ended */
2106
2134
  'tour-ended': ImageData.VideoTour;
2135
+ /** When a video tour has custom events, they will be fired like this */
2107
2136
  'tour-event': ImageData.Event;
2137
+ /** The audio controller has been successfully initialized and can play audio */
2108
2138
  'audio-init': void;
2139
+ /** The audio has been muted */
2109
2140
  'audio-mute': void;
2141
+ /** The audio has been unmuted */
2110
2142
  'audio-unmute': void;
2143
+ /** Fires when there is autoplay audio or video which was disallowed by the browser */
2111
2144
  'autoplay-blocked': void;
2145
+ /** Media has started playing */
2112
2146
  'media-play': void;
2147
+ /** Media has stopped playing */
2113
2148
  'media-pause': void;
2149
+ /** Media has ended */
2114
2150
  'media-ended': void;
2151
+ /** A media timeupdate tick */
2115
2152
  'timeupdate': number;
2153
+ /** A custom popover page was opened */
2116
2154
  'page-open': ImageData.Menu;
2155
+ /** A custom popover page was closed */
2117
2156
  'page-closed': ImageData.Menu;
2157
+ /** Triggers on album image change */
2118
2158
  'gallery-show': number;
2159
+ /** The grid controller has initialized */
2119
2160
  'grid-init': Grid;
2161
+ /** All images in the grid have loaded */
2120
2162
  'grid-load': void;
2163
+ /** The grid layout has changed */
2121
2164
  'grid-layout-set': Grid;
2165
+ /** The main grid view is activated */
2122
2166
  'grid-focus': MicrioImage;
2167
+ /** The main grid has lost focus, i.e., navigated away */
2123
2168
  'grid-blur': void;
2169
+ /** Split screen mode has started */
2124
2170
  'splitscreen-start': MicrioImage;
2171
+ /** Split screen mode has stopped */
2125
2172
  'splitscreen-stop': MicrioImage;
2173
+ /** When there is any user action, this event fires. Deferred and fires at a maximum rate of every 500ms */
2126
2174
  'update': Array<string>;
2127
2175
  }
2128
2176
  type MicrioEventMap = {