Adds a gallery of multiple panoramas

Hierarchy (view full)

Constructors

Properties

viewer: Viewer
id: "gallery" = 'gallery'

Unique identifier of the plugin

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

Expected version of the core DO NOT USE on custom plugins

Methods

  • Sets the list of items

    Parameters

    • items: GalleryItem[]
    • Optionalhandler: ((id: string | number) => void)

      function that will be called when an item is clicked instead of the default behavior

        • (id): void
        • Parameters

          • id: string | number

          Returns void

    Returns void

    PSVError if the configuration is invalid