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
ReadonlycellCurrent individual cell sizes w,h
The HTML grid will stay visible and clickable
The currently shown images
The current history length
ReadonlyfocussedThe current full-view focussed image
The grid state history
The MicrioImage which is the virtual grid container
ReadonlyimagesThe instanced grid images
ReadonlymarkersShow 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
Optionaldata: stringOptional action data
Optionalduration: 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
Optionaltag: stringThe class name to match
Optionalduration: numberOptional duration in ms
OptionalnoZoom: 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
Optionalduration: numberDuration in seconds
OptionalnoCamAni: booleanDon't do any camera animating
OptionalforceAni: booleanForce animation on all grid images
Promise when the transition is complete
Set the grid to this input
The grid string
Optional settings
Optionalcolumns?: numberGrid columns
Optionalcover?: booleanOpen the images on cover view, but don't limit
OptionalcoverLimit the images to cover view
Optionalduration?: numberAny main camera animation duration in seconds
OptionalforceForce an animation for all images
OptionalforceForce area animating for images currently not visible
Optionalhorizontal?: booleanThe layout is horizontal
OptionalkeepDon't remove the grid HTML element
OptionalnoDon't unfocus the current focussed image
OptionalnoDon't draw any frame or do any camera stuff
OptionalnoDon't do any fading in
OptionalnoDon't add the layout to the history stack
Optionalscale?: numberScale individual grid images (0-100%)
Optionaltransition?: GridSetTransitionTransition animation, defaults to crossfade
Optionalview?: ViewFly the main grid view to this viewport
Promise when the animation is done with the currently shown images
The Grid controller class