MicrioImage state controller

The Image constructor is used as state, and offers:

  • Setting the current opened marker in this image
  • Getting the image's last known viewport, even if it is not active at the moment

Hierarchy

  • Image

Properties

Accessors

Properties

view: Writable<View> = ...

The current image viewport store Writable

marker: Writable<string | Marker> = ...

The current active marker store Writable. You can either set this to be a Marker JSON object, or string, which is the ID of the marker you wish to open.

Accessors

  • get $view(): View
  • The current or last known viewport of this image

    Returns View

  • get $marker(): Marker
  • The current active Marker instance

    Returns Marker

Generated using TypeDoc