Displays various markers on the viewer

Hierarchy (view full)

Constructors

Properties

viewer: Viewer
id: "markers" = 'markers'

Unique identifier of the plugin

readonlyOptions: (keyof MarkersPluginConfig)[] = ...
VERSION: string = PKG_VERSION

Expected version of the core DO NOT USE on custom plugins

Methods

  • Type Parameters

    • T extends
          | "marker-visibility"
          | "goto-marker-done"
          | "leave-marker"
          | "enter-marker"
          | "select-marker"
          | "select-marker-list"
          | "unselect-marker"
          | "hide-markers"
          | "set-markers"
          | "show-markers"
          | "render-markers-list"

      the name of event

    • E extends MarkersPluginEvents & {
          type: T;
      }

      the class of the event

    Parameters

    • type: T
    • callback: EventListenerObject | ((e: E) => void)
    • Optionaloptions: boolean | AddEventListenerOptions

    Returns void

  • Type Parameters

    • T extends
          | "marker-visibility"
          | "goto-marker-done"
          | "leave-marker"
          | "enter-marker"
          | "select-marker"
          | "select-marker-list"
          | "unselect-marker"
          | "hide-markers"
          | "set-markers"
          | "show-markers"
          | "render-markers-list"

      the name of event

    • E extends MarkersPluginEvents & {
          type: T;
      }

      the class of the event

    Parameters

    • type:
          | "marker-visibility"
          | "goto-marker-done"
          | "leave-marker"
          | "enter-marker"
          | "select-marker"
          | "select-marker-list"
          | "unselect-marker"
          | "hide-markers"
          | "set-markers"
          | "show-markers"
          | "render-markers-list"
    • callback: EventListenerObject | ((e: E) => void)
    • Optionaloptions: boolean | EventListenerOptions

    Returns void