Newly introduced in Micrio 4.0 is the replacement of the way you can interact with markers and tours from a classic imperative JavaScript API to a Svelte-inspired, store-based state management using SvelteStore.
This has greatly simplified the internal workings and has made the HTML interface fully reactive based on the image state instead of being interwoven in the previous JS API itself.
Micrio State management
Newly introduced in Micrio 4.0 is the replacement of the way you can interact with markers and tours from a classic imperative JavaScript API to a Svelte-inspired, store-based state management using
SvelteStore
.This has greatly simplified the internal workings and has made the HTML interface fully reactive based on the image state instead of being interwoven in the previous JS API itself.
There are 2
State
controllers:State.Main
: the mainHTMLMicrioElement.state
state controller, used for:State.Image
: individual imageMicrioImage.state
controller, used for:Upgrading from Micrio 3.x to 4.x
Please refer to this Micrio knowledge base article for if you want to upgrade an existing 3.x implementation to 4.x.
Marcel Duin [email protected]
Q42 Internet BV, Micrio, 2015 - 2023
https://micr.io/ , https://q42.nl/en/