Readonly
markerWritable Svelte store holding the marker object currently opened in the main active image, or undefined if none is open.
Readonly
markerWritable Svelte store holding the ID of the marker currently being hovered over.
Readonly
popoverWritable Svelte store holding the data for the currently displayed popover (custom page or gallery). See Models.State.PopoverType.
Readonly
popupWritable Svelte store holding the marker object whose popup is currently displayed.
Readonly
tourWritable Svelte store holding the currently active tour object (VideoTour or MarkerTour), or undefined if no tour is active.
UI state stores.
Writable store controlling the visibility of the main UI controls (bottom right).
Writable store controlling the visibility of all UI elements (e.g., for fullscreen or specific modes).
Writable store controlling the visibility of zoom buttons.
Getter for the current value of the tour store.
Gets the current state of the Micrio viewer as a serializable JSON object. This object captures the active image(s), viewports, open markers, active tour, and media playback states, allowing the exact state to be restored later or elsewhere.
The current state as a MicrioStateJSON object, or undefined if no image is loaded.
Sets the Micrio viewer state from a previously saved MicrioStateJSON object. This will attempt to restore the active image, viewports, open markers, active tour, and media playback states.
The state object to load.
HTMLMicrioElement state controller (
micrio.state
)Manages the global application state associated with the main
<micr-io>
element. Provides Svelte stores for reactive UI updates and methods for state serialization.