@photo-sphere-viewer/settings-plugin
Advanced tools
Comparing version 5.5.0 to 5.5.1
@@ -126,2 +126,5 @@ import { AbstractPlugin, Viewer, TypedEvent } from '@photo-sphere-viewer/core'; | ||
/** | ||
* @event Triggered when a setting's value changes | ||
*/ | ||
declare class SettingChangedEvent extends TypedEvent<SettingsPlugin> { | ||
@@ -132,3 +135,2 @@ readonly settingId: string; | ||
type: 'setting-changed'; | ||
constructor(settingId: string, settingValue: boolean | string); | ||
} | ||
@@ -135,0 +137,0 @@ type SettingsPluginEvents = SettingChangedEvent; |
@@ -8,3 +8,3 @@ (function (global, factory) { | ||
/*! | ||
* PhotoSphereViewer.SettingsPlugin 5.5.0 | ||
* PhotoSphereViewer.SettingsPlugin 5.5.1 | ||
* @copyright 2023 Damien "Mistic" Sorel | ||
@@ -49,2 +49,3 @@ * @licence MIT (https://opensource.org/licenses/MIT) | ||
var _SettingChangedEvent = class _SettingChangedEvent extends import_core.TypedEvent { | ||
/** @internal */ | ||
constructor(settingId, settingValue) { | ||
@@ -478,3 +479,3 @@ super(_SettingChangedEvent.type); | ||
SettingsPlugin.id = "settings"; | ||
SettingsPlugin.VERSION = "5.5.0"; | ||
SettingsPlugin.VERSION = "5.5.1"; | ||
@@ -481,0 +482,0 @@ // src/index.ts |
/*! | ||
* PhotoSphereViewer.SettingsPlugin 5.5.0 | ||
* PhotoSphereViewer.SettingsPlugin 5.5.1 | ||
* @copyright 2023 Damien "Mistic" Sorel | ||
@@ -22,2 +22,3 @@ * @licence MIT (https://opensource.org/licenses/MIT) | ||
var _SettingChangedEvent = class _SettingChangedEvent extends TypedEvent { | ||
/** @internal */ | ||
constructor(settingId, settingValue) { | ||
@@ -451,3 +452,3 @@ super(_SettingChangedEvent.type); | ||
SettingsPlugin.id = "settings"; | ||
SettingsPlugin.VERSION = "5.5.0"; | ||
SettingsPlugin.VERSION = "5.5.1"; | ||
@@ -454,0 +455,0 @@ // src/index.ts |
{ | ||
"name": "@photo-sphere-viewer/settings-plugin", | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"description": "Photo Sphere Viewer configurable plugin that adds a button to access various settings.", | ||
@@ -27,4 +27,4 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@photo-sphere-viewer/core": "5.5.0" | ||
"@photo-sphere-viewer/core": "5.5.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
114907
1138