ImageNavigator

ImageNavigator

The navigator class

Constructor

new ImageNavigator(micrionon-null)

Create the ImageNavigator instance
Parameters:
Name Type Description
micrio Micrio The Micrio instance

Classes

ImageNavigator

Methods

getCurrent() → (non-null) {Micrio}

Get the current Micrio instance
Returns:
The current Micrio instance
Type
Micrio

(async) goto(id, cbopt, keepViewopt) → (non-null) {Promise.<(?Micrio|undefined)>}

Navigate to another Micrio ID
Parameters:
Name Type Attributes Default Description
id string The Micrio ID
cb function <optional>
The callback function when done
keepView boolean <optional>
false Inherit the current image viewport
Returns:
When the new image has been loaded and shown
Type
Promise.<(?Micrio|undefined)>