Static
observedThe current active and shown MicrioImage, returning the current value of the current store Writable
Readonly
canvasesAll available canvases
Readonly
currentCurrent main MicrioImage store Writable. Its value can be referred to using the $current property
Readonly
visibleCurrently visible canvases
Readonly
canvasThe Micrio sizing and <canvas>
controller
Readonly
eventsUser input browser event handlers
Readonly
stateThe main state manager. Read more about it in the State section.
Readonly
bareboneBarebone texture downloading, uglier but less bandwidth
Optional
defaultCustom settings, if specified, this overwrites any server received data
Open a Micrio image by ID or ImageInfo JSON data
An image ID or a ImageInfo JSON object
Some opening parameters
Optional
gridDon't focus on an image inside the grid, keep the grid active
Optional
splitOpen the image as a secondary split screen image
Optional
splitOptional image that is the lead image for split screen
Optional
isPassive split screen
Optional
vector?: { In case of 360, move into this direction
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 {@link 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
0, 0, 1, 1
restrict
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
Author
Marcel Duin [email protected]
Copyright
Q42 Internet BV, Micrio, 2015 - 2023
Link
https://micr.io/ , https://q42.nl/en/