Photo Sphere Viewer
    Preparing search index...

    Class VirtualTourPlugin

    Creates virtual tours by linking multiple panoramas

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    viewer: Viewer
    id: "virtual-tour" = 'virtual-tour'

    Unique identifier of the plugin

    readonlyOptions: string[] = ...
    VERSION: string = PKG_VERSION

    Expected version of the core DO NOT USE on custom plugins

    Accessors

    Methods

    • Type Parameters

      • T extends "node-changed" | "enter-arrow" | "leave-arrow"

        the name of event

      • E extends VirtualTourEvents & { type: T }

        the class of the event

      Parameters

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

      Returns void

    • Type Parameters

      • T extends "node-changed" | "enter-arrow" | "leave-arrow"

        the name of event

      • E extends VirtualTourEvents & { type: T }

        the class of the event

      Parameters

      • type: "node-changed" | "enter-arrow" | "leave-arrow"
      • callback: EventListenerObject | ((e: E) => void)
      • Optionaloptions: boolean | EventListenerOptions

      Returns void