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
idwidthautoheightautoGeneral options
langenpathhttps://b.micr.io/skipmetafalselazyloadfalsegtagtrueDisplay options
focusx, y0.5, 0.5view0, 0, 1, 1restrict0, 0, 1, 1zoomlimit1coverlimitfalseinittypecoverfilling the screenis360autonormalize-dprfalseUser input events and behavior
eventstruekeysfalsezoomingtruescroll-zoomtruepinch-zoomtruedraggingtruetwo-finger-panfalsecontrol-zoomctrlorcmdto zoom using the scroll wheelfalsecamspeed1elasticity1User interface options
controlstruesocialtruefullscreentruelogotruelogo-orgtruetoolbartrueshow-infotrueminimaptrueminimap-hidetrueminimap-height200minimap-width160Audio options
mutedfalsevolume1musicvolume1mutedvolume0Author
Marcel Duin [email protected]
Copyright
Q42 Internet BV, Micrio, 2015 - 2023
Link
https://micr.io/ , https://q42.nl/en/