The Grid constructor
The Micrio instance
The MicrioImage which is the virtual grid container
The image HTML <button>
grid elements
The grid HTML element
The animation duration when opening a new layout, in s
The animation duration when going back, in s
Readonly
cellCurrent individual cell sizes w,h
The HTML grid will stay visible and clickable
The currently shown images
The current history length
Readonly
focussedThe current full-view focussed image
The grid state history
The MicrioImage which is the virtual grid container
Readonly
imagesThe instanced grid images
Readonly
markersShow the markers of these elements
The Micrio instance
For delayed transitions, individual delay in s
Get the current focussed store value
Do an (external) action
The action type enum or string
Optional
data: stringOptional action data
Optional
duration: numberOptional action duration
Enlarge a specific image idx of the currently shown grid
The image index of the current grid
The image target number of columns
The image target number of rows
Promise when the transition is completed
Fly to the viewports of any markers containing a class name
Optional
tag: stringThe class name to match
Optional
duration: numberOptional duration in ms
Optional
noZoom: booleanDon't zoom into the markers, just filter the images
Promise when the transition is complete
Open a grid image full size and set it as the main active image
The image
Focus options
Promise for when the transition completes
Get the relative in-grid viewport of the image
Convert an ImageInfo object to an individual image grid string
The grid encoded string of this image
Reset the grid to its initial layout
Optional
duration: numberDuration in seconds
Optional
noCamAni: booleanDon't do any camera animating
Optional
forceAni: booleanForce animation on all grid images
Promise when the transition is complete
Set the grid to this input
The grid string
Optional settings
Optional
columns?: numberGrid columns
Optional
cover?: booleanOpen the images on cover view, but don't limit
Optional
coverLimit the images to cover view
Optional
duration?: numberAny main camera animation duration in seconds
Optional
forceForce an animation for all images
Optional
forceForce area animating for images currently not visible
Optional
horizontal?: booleanThe layout is horizontal
Optional
keepDon't remove the grid HTML element
Optional
noDon't unfocus the current focussed image
Optional
noDon't draw any frame or do any camera stuff
Optional
noDon't do any fading in
Optional
noDon't add the layout to the history stack
Optional
scale?: numberScale individual grid images (0-100%)
Optional
transition?: GridSetTransitionTransition animation, defaults to crossfade
Optional
view?: ViewFly the main grid view to this viewport
Promise when the animation is done with the currently shown images
The Grid controller class