Photo Sphere Viewer
    Preparing search index...

    Class SettingsPlugin

    Adds a button to access various settings

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    settings: Setting[] = []
    viewer: Viewer
    id: "settings" = 'settings'

    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 "setting-changed"

        the name of event

      • E extends SettingChangedEvent & { type: T }

        the class of the event

      Parameters

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

      Returns void