Options
All
  • Public
  • Public/Protected
  • All
Menu

The State.Image constructor is used as MicrioImage.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

Index

Properties

Accessors

Properties

Readonly view

view: Writable<View> = ...

The current image viewport store Writable

Readonly marker

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

$view

  • The current or last known viewport of this image

    Returns View

$marker

  • The current active Marker instance

    Returns Marker

Generated using TypeDoc