Readonly
tourThe current MarkerTour or VideoTour store Writable
Readonly
markerReadonly
popupThe current opened popup
Readonly
popoverThe current opened custom content page
UI controls settings
The current active MarkerTour or VideoTour
The current opened Marker of the current shown MicrioImage
Gets the current state as an independent, minimal JSON object. This includes the currently open image(s), marker(s), and actively playing media (video, audio, tour) and its state. You can use this object in any other environment to immediately replicate this state (neat!).
Example:
// Save the current state in Browser 1
const state = micrio.state.get();
// Save or sync this object to Browser 2 and load it there..
// This makes the <micr-io> session state identical to Browser 1.
micrio.state.set(state);
Sets the state from a MicrioStateJSON
object, output by the function above here.
This works on any Micrio instance!
Generated using TypeDoc
HTMLMicrioElement state controller
The Main constructor is used as state, and offers: