DeepZoom scripting
    Preparing search index...

    Function infoText

    • Adds text to the info stack.

      Using the infoUrl, infoAudio, infoText, and infoVideo events, media and text can be shown on the Info tab. Multiple entries can be active simultaneously and are arranged in a stack.

      Parameters

      • json: { autoplay: boolean; removeExisting: boolean; text: string; type: string } = ...
        • autoplay: boolean
        • removeExisting: boolean

          if true, remove all existing content from the info stack

        • text: string

          the text to display

        • type: string

          "text"

      Returns void

      {
      type: "text",
      text: "Depth units are in feet",
      removeExisting: true,
      }