MicrioImage state controller (micrioImage.state)

Manages the state specific to a single MicrioImage instance, primarily its viewport and currently opened marker.

Properties

Accessors

Properties

layer: Writable<number> = ...

Writable Svelte store holding the currently displayed layer index (for Omni objects).

marker: Writable<string | Marker> = ...

Writable Svelte store holding the currently active marker within this specific image. Can be set with a marker ID string or a full marker object. Setting to undefined closes the marker.

view: Writable<View> = ...

Writable Svelte store holding the current viewport [x0, y0, x1, y1] of this image.

Accessors

  • get $view(): View
  • Getter for the current value of the view store.

    Returns View