DeepZoom scripting
    Preparing search index...

    Function UI

    • Change UI settings.

      Pass either a single object or an array of objects. Only the properties present are changed.

      Parameters

      • json:
            | { fullscreen?: boolean; layers?: boolean }
            | { fullscreen?: boolean; layers?: boolean }[] = ...
        • { fullscreen?: boolean; layers?: boolean }
          • Optionalfullscreen?: boolean

            boolean: true hides the right side panel

          • Optionallayers?: boolean

            boolean: true shows the left side layers panel

        • { fullscreen?: boolean; layers?: boolean }[]

      Returns void

      // hide the right side panel
      {"fullscreen": true}

      // hide both side panels
      [{"fullscreen": true}, {"layers": false}]