Current main MicrioImage
store Writable
. Its value can be referred to using the $current
property
In split screen mode, this is the secondary image
The virtual camera instance to control the current main image views
User input browser event handlers
The main state manager. Read more about it in the State
section.
Custom settings, if specified, this overwrites any server received data
Open a Micrio image by ID or Models.ImageInfo.ImageInfo
JSON data
An image ID or a Models.ImageInfo.ImageInfo JSON object
Open this image as a secondary split screen image
Close an opened MicrioImage
The currently visible MicrioImage
Generated using TypeDoc
The main Micrio HTML element
The main
<micr-io>
controller instance, which extends a basicHTMLElement
.This controls all necessary rendering components and images to display.
Creating a Micrio element is easy:
Attribute settings
You can customize the Micrio behavior by setting its HTML element attributes. These will be parsed to a
Models.ImageInfo.ImageInfo
JSON object, and overwrite any values received from the server.Image info
id
width
auto
height
auto
General options
lang
en
path
https://b.micr.io/
skipmeta
false
lazyload
false
gtag
true
Display options
focus
x, y
0.5, 0.5
view
View
0, 0, 1, 1
restrict
View
0, 0, 1, 1
zoomlimit
1
coverlimit
false
inittype
cover
filling the screenis360
auto
normalize-dpr
false
User input events and behavior
events
true
keys
false
zooming
true
scroll-zoom
true
pinch-zoom
true
dragging
true
two-finger-pan
false
control-zoom
ctrl
orcmd
to zoom using the scroll wheelfalse
camspeed
1
elasticity
1
User interface options
controls
true
social
true
fullscreen
true
logo
true
logo-org
true
toolbar
true
show-info
true
minimap
true
minimap-hide
true
minimap-height
200
minimap-width
160
Audio options
muted
false
volume
1
musicvolume
1
mutedvolume
0
Marcel Duin [email protected]
Q42 Internet BV, Micrio, 2015 - 2023
https://micr.io/ , https://q42.nl/en/