Manages the application state using Svelte stores, allowing reactive updates
throughout the UI and providing methods to get/set the overall state.
Replaces the imperative API of Micrio 3.x.
Consists of two main state controllers:
State.Main: Global state for the <micr-io> element (active tour, marker, UI state).
State.Image: State specific to individual MicrioImage instances (view, active marker within that image).
Micrio State management
Manages the application state using Svelte stores, allowing reactive updates throughout the UI and providing methods to get/set the overall state. Replaces the imperative API of Micrio 3.x.
Consists of two main state controllers:
<micr-io>
element (active tour, marker, UI state).See
Migrating from Micrio 3.x
Author
Marcel Duin marcel@micr.io