Photo Sphere Viewer
    Preparing search index...

    Class ResolutionPlugin

    Adds a setting to choose between multiple resolutions of the panorama.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    viewer: Viewer
    id: "resolution" = 'resolution'

    Unique identifier of the plugin

    VERSION: string = PKG_VERSION

    Expected version of the core DO NOT USE on custom plugins

    Methods

    • Type Parameters

      • T extends "resolution-changed"

        the name of event

      • E extends ResolutionChangedEvent & { type: T }

        the class of the event

      Parameters

      • type: "resolution-changed"
      • callback: EventListenerObject | ((e: E) => void)
      • Optionaloptions: boolean | EventListenerOptions

      Returns void