Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

photo-sphere-viewer

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

photo-sphere-viewer - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

2

dist/plugins/autorotate-keypoints.js
/*!
* Photo Sphere Viewer 4.0.2
* Photo Sphere Viewer 4.0.3
* @copyright 2014-2015 Jérémy Heleine

@@ -4,0 +4,0 @@ * @copyright 2015-2020 Damien "Mistic" Sorel

/*!
* Photo Sphere Viewer 4.0.2
* Photo Sphere Viewer 4.0.3
* @copyright 2014-2015 Jérémy Heleine

@@ -4,0 +4,0 @@ * @copyright 2015-2020 Damien "Mistic" Sorel

/*!
* Photo Sphere Viewer 4.0.2
* Photo Sphere Viewer 4.0.3
* @copyright 2014-2015 Jérémy Heleine

@@ -4,0 +4,0 @@ * @copyright 2015-2020 Damien "Mistic" Sorel

/*!
* Photo Sphere Viewer 4.0.2
* Photo Sphere Viewer 4.0.3
* @copyright 2014-2015 Jérémy Heleine

@@ -209,3 +209,3 @@ * @copyright 2015-2020 Damien "Mistic" Sorel

_this.gyroscope = psv.getPlugin(GyroscopePlugin);
_this.gyroscope = GyroscopePlugin ? psv.getPlugin(GyroscopePlugin) : null;

@@ -276,3 +276,3 @@ if (!_this.gyroscope) {

_proto.isEnabled = function isEnabled() {
return !!this.prop.stereoEffect;
return !!this.prop.renderer;
}

@@ -325,3 +325,3 @@ /**

_this2.trigger(StereoPlugin.EVENTS.STEREO_UPATED, true);
_this2.trigger(StereoPlugin.EVENTS.STEREO_UPDATED, true);

@@ -364,3 +364,3 @@ _this2.psv.notification.show({

this.gyroscope.stop();
this.trigger(StereoPlugin.EVENTS.STEREO_UPATED, false);
this.trigger(StereoPlugin.EVENTS.STEREO_UPDATED, false);
}

@@ -367,0 +367,0 @@ }

/*!
* Photo Sphere Viewer 4.0.2
* Photo Sphere Viewer 4.0.3
* @copyright 2014-2015 Jérémy Heleine

@@ -4,0 +4,0 @@ * @copyright 2015-2020 Damien "Mistic" Sorel

/*!
* Photo Sphere Viewer 4.0.2
* Photo Sphere Viewer 4.0.3
* @copyright 2014-2015 Jérémy Heleine

@@ -4,0 +4,0 @@ * @copyright 2015-2020 Damien "Mistic" Sorel

{
"name": "photo-sphere-viewer",
"version": "4.0.2",
"version": "4.0.3",
"description": "A JavaScript library to display Photo Sphere panoramas",

@@ -34,3 +34,3 @@ "homepage": "https://photo-sphere-viewer.js.org",

"dependencies": {
"three": "^0.115.0",
"three": "^0.116.0",
"uevent": "~2.0.0"

@@ -66,3 +66,2 @@ },

"node-sass": "^4.13.0",
"nodemon": "^2.0.0",
"nosleep.js": "^0.9.0",

@@ -101,5 +100,5 @@ "npm-run-all": "^4.1.3",

"start:remote": "ngrok http 8080",
"dev:serve": "live-server --watch=dist,example --wait=1000 --open=example",
"dev:watch": "nodemon --watch src/ --ext js,scss,svg,html --exec \"npm run compile\""
"dev:serve": "live-server --watch=dist,example --open=example",
"dev:watch": "npm run compile:rollup -- --watch"
}
}

@@ -78,7 +78,2 @@ import { EVENTS } from '../data/constants';

/**
* @event show-notification
* @memberof PSV
* @summary Trigered when the notification is shown
*/
this.psv.trigger(EVENTS.SHOW_NOTIFICATION);

@@ -101,7 +96,2 @@

/**
* @event hide-notification
* @memberof PSV
* @summary Trigered when the notification is hidden
*/
this.psv.trigger(EVENTS.HIDE_NOTIFICATION);

@@ -108,0 +98,0 @@ }

@@ -127,8 +127,2 @@ import { EVENTS } from '../data/constants';

/**
* @event show-overlay
* @memberof PSV
* @summary Trigered when the overlay is shown
* @param {string} [id]
*/
this.psv.trigger(EVENTS.SHOW_OVERLAY, config.id);

@@ -150,8 +144,2 @@ }

/**
* @event hide-overlay
* @memberof PSV
* @summary Trigered when the overlay is hidden
* @param {string} [id]
*/
this.psv.trigger(EVENTS.HIDE_OVERLAY, contentId);

@@ -158,0 +146,0 @@ }

@@ -158,8 +158,2 @@ import { EVENTS } from '../data/constants';

/**
* @event open-panel
* @memberof PSV
* @summary Triggered when the panel is opened
* @param {string} [id]
*/
this.psv.trigger(EVENTS.OPEN_PANEL, config.id);

@@ -188,8 +182,2 @@ }

/**
* @event close-panel
* @memberof PSV
* @summary Trigered when the panel is closed
* @param {string} [id]
*/
this.psv.trigger(EVENTS.CLOSE_PANEL, contentId);

@@ -196,0 +184,0 @@ }

@@ -156,9 +156,2 @@ import { EVENTS } from '../data/constants';

/**
* @event show-tooltip
* @memberof PSV
* @summary Trigered when the tooltip is shown
* @param {*} Data associated to this tooltip
* @param {PSV.components.Tooltip} Instance of the tooltip
*/
this.psv.trigger(EVENTS.SHOW_TOOLTIP, this.prop.data, this);

@@ -260,8 +253,2 @@ }

/**
* @event hide-tooltip
* @memberof PSV
* @summary Trigered when the tooltip is hidden
* @param {*} Data associated to this tooltip
*/
this.psv.trigger(EVENTS.HIDE_TOOLTIP, this.prop.data);

@@ -268,0 +255,0 @@ }

/**
* @namespace PSV.CONSTANTS
* @namespace PSV.constants
*/

@@ -7,3 +7,3 @@

* @summary Number of pixels bellow which a mouse move will be considered as a click
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number}

@@ -16,3 +16,3 @@ * @constant

* @summary Delay in milliseconds between two clicks to consider a double click
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number}

@@ -25,3 +25,3 @@ * @constant

* @summary Delay in milliseconds to emulate a long touch
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number}

@@ -34,3 +34,3 @@ * @constant

* @summary Time size of the mouse position history used to compute inertia
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number}

@@ -43,3 +43,3 @@ * @constant

* @summary Radius of the THREE.SphereGeometry, Half-length of the THREE.BoxGeometry
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number}

@@ -52,3 +52,3 @@ * @constant

* @summary Number of vertice of the THREE.SphereGeometry
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number}

@@ -61,3 +61,3 @@ * @constant

* @summary Number of vertices of each side of the THREE.BoxGeometry
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number}

@@ -70,3 +70,3 @@ * @constant

* @summary Order of cube textures for arrays
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {number[]}

@@ -79,3 +79,3 @@ * @constant

* @summary Order of cube textures for maps
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {string[]}

@@ -88,3 +88,3 @@ * @constant

* @summary Property name added to buttons list
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {string}

@@ -97,3 +97,3 @@ * @constant

* @summary Property name added to viewer element
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @type {string}

@@ -106,3 +106,3 @@ * @constant

* @summary Available actions
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @enum {string}

@@ -122,4 +122,4 @@ * @constant

/**
* @summary Available events
* @memberOf PSV.CONSTANTS
* @summary Available events names
* @memberOf PSV.constants
* @enum {string}

@@ -129,23 +129,150 @@ * @constant

export const EVENTS = {
/**
* @event autorotate
* @memberof PSV
* @summary Triggered when the automatic rotation is enabled/disabled
* @param {boolean} enabled
*/
AUTOROTATE : 'autorotate',
/**
* @event before-render
* @memberof PSV
* @summary Triggered before a render, used to modify the view
* @param {number} timestamp - time provided by requestAnimationFrame
*/
BEFORE_RENDER : 'before-render',
/**
* @event before-rotate
* @memberOf PSV
* @summary Triggered before a rotate operation, can be cancelled
* @param {PSV.ExtendedPosition}
*/
BEFORE_ROTATE : 'before-rotate',
/**
* @event click
* @memberof PSV
* @summary Triggered when the user clicks on the viewer (everywhere excluding the navbar and the side panel)
* @param {PSV.ClickData} data
*/
CLICK : 'click',
/**
* @event close-panel
* @memberof PSV
* @summary Trigered when the panel is closed
* @param {string} [id]
*/
CLOSE_PANEL : 'close-panel',
/**
* @event config-changed
* @memberOf PSV
* @summary Triggered after a call to setOption/setOptions
* @param {string[]} name of changed options
*/
CONFIG_CHANGED : 'config-changed',
/**
* @event dblclick
* @memberof PSV
* @summary Triggered when the user double clicks on the viewer. The simple `click` event is always fired before `dblclick`
* @param {PSV.ClickData} data
*/
DOUBLE_CLICK : 'dblclick',
/**
* @event fullscreen-updated
* @memberof PSV
* @summary Triggered when the fullscreen mode is enabled/disabled
* @param {boolean} enabled
*/
FULLSCREEN_UPDATED: 'fullscreen-updated',
/**
* @event hide-notification
* @memberof PSV
* @summary Trigered when the notification is hidden
*/
HIDE_NOTIFICATION : 'hide-notification',
/**
* @event hide-overlay
* @memberof PSV
* @summary Trigered when the overlay is hidden
* @param {string} [id]
*/
HIDE_OVERLAY : 'hide-overlay',
/**
* @event hide-tooltip
* @memberof PSV
* @summary Trigered when the tooltip is hidden
* @param {*} Data associated to this tooltip
*/
HIDE_TOOLTIP : 'hide-tooltip',
/**
* @event open-panel
* @memberof PSV
* @summary Triggered when the panel is opened
* @param {string} [id]
*/
OPEN_PANEL : 'open-panel',
/**
* @event panorama-loaded
* @memberof PSV
* @summary Triggered when a panorama image has been loaded
*/
PANORAMA_LOADED : 'panorama-loaded',
/**
* @event position-updated
* @memberof PSV
* @summary Triggered when the view longitude and/or latitude changes
* @param {PSV.Position} position
*/
POSITION_UPDATED : 'position-updated',
/**
* @event ready
* @memberof PSV
* @summary Triggered when the panorama image has been loaded and the viewer is ready to perform the first render
*/
READY : 'ready',
/**
* @event render
* @memberof PSV
* @summary Triggered on each viewer render, **this event is triggered very often**
*/
RENDER : 'render',
/**
* @event show-notification
* @memberof PSV
* @summary Trigered when the notification is shown
*/
SHOW_NOTIFICATION : 'show-notification',
/**
* @event show-overlay
* @memberof PSV
* @summary Trigered when the overlay is shown
* @param {string} [id]
*/
SHOW_OVERLAY : 'show-overlay',
/**
* @event show-tooltip
* @memberof PSV
* @summary Trigered when the tooltip is shown
* @param {*} Data associated to this tooltip
* @param {PSV.components.Tooltip} Instance of the tooltip
*/
SHOW_TOOLTIP : 'show-tooltip',
/**
* @event size-updated
* @memberof PSV
* @summary Triggered when the viewer size changes
* @param {PSV.Size} size
*/
SIZE_UPDATED : 'size-updated',
/**
* @event stop-all
* @memberof PSV
* @summary Triggered when all current animations are stopped
*/
STOP_ALL : 'stop-all',
/**
* @event zoom-updated
* @memberof PSV
* @summary Triggered when the zoom level changes
* @param {number} zoomLevel
*/
ZOOM_UPDATED : 'zoom-updated',

@@ -155,4 +282,4 @@ };

/**
* @summary Available change events
* @memberOf PSV.CONSTANTS
* @summary Available change events names
* @memberOf PSV.constants
* @enum {string}

@@ -162,3 +289,17 @@ * @constant

export const CHANGE_EVENTS = {
/**
* @event get-animate-position
* @memberof PSV
* @param {Position} position
* @returns {Position}
* @summary Called to alter the target position of an animation
*/
GET_ANIMATE_POSITION: 'get-animate-position',
/**
* @event get-rotate-position
* @memberof PSV
* @param {Position} position
* @returns {Position}
* @summary Called to alter the target position of a rotation
*/
GET_ROTATE_POSITION : 'get-rotate-position',

@@ -169,3 +310,3 @@ };

* @summary Internal identifiers for various stuff
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @enum {string}

@@ -184,3 +325,3 @@ * @constant

* @summary Collection of easing functions
* @memberOf PSV.CONSTANTS
* @memberOf PSV.constants
* @see {@link https://gist.github.com/frederickk/6165768}

@@ -187,0 +328,0 @@ * @type {Object<string, Function>}

@@ -6,2 +6,3 @@ import { Animation } from './Animation';

import * as CONSTANTS from './data/constants';
import './data/constants'; // for jsdoc
import { SYSTEM } from './data/system';

@@ -8,0 +9,0 @@ import { AbstractPlugin } from './plugins/AbstractPlugin';

@@ -67,3 +67,3 @@ import { AbstractPlugin, CONSTANTS, DEFAULTS, PSVError, registerButton, utils } from 'photo-sphere-viewer';

*/
this.gyroscope = psv.getPlugin(GyroscopePlugin);
this.gyroscope = GyroscopePlugin ? psv.getPlugin(GyroscopePlugin) : null;

@@ -128,3 +128,3 @@ if (!this.gyroscope) {

isEnabled() {
return !!this.prop.stereoEffect;
return !!this.prop.renderer;
}

@@ -169,3 +169,3 @@

*/
this.trigger(StereoPlugin.EVENTS.STEREO_UPATED, true);
this.trigger(StereoPlugin.EVENTS.STEREO_UPDATED, true);

@@ -204,3 +204,3 @@ this.psv.notification.show({

this.trigger(StereoPlugin.EVENTS.STEREO_UPATED, false);
this.trigger(StereoPlugin.EVENTS.STEREO_UPDATED, false);
}

@@ -207,0 +207,0 @@ }

@@ -399,7 +399,8 @@ import { Animation } from '../Animation';

* @summary Handles fullscreen events
* @param {boolean} [force] force state
* @fires PSV.fullscreen-updated
* @private
* @package
*/
__fullscreenToggled() {
this.prop.fullscreen = isFullscreenEnabled(this.psv.container);
__fullscreenToggled(force) {
this.prop.fullscreen = force !== undefined ? force : isFullscreenEnabled(this.psv.container);

@@ -415,8 +416,2 @@ if (this.config.keyboard) {

/**
* @event fullscreen-updated
* @memberof PSV
* @summary Triggered when the fullscreen mode is enabled/disabled
* @param {boolean} enabled
*/
this.psv.trigger(EVENTS.FULLSCREEN_UPDATED, this.prop.fullscreen);

@@ -576,8 +571,2 @@ }

if (!this.state.dblclickTimeout) {
/**
* @event click
* @memberof PSV
* @summary Triggered when the user clicks on the viewer (everywhere excluding the navbar and the side panel)
* @param {PSV.ClickData} data
*/
this.psv.trigger(EVENTS.CLICK, data);

@@ -594,8 +583,2 @@

&& Math.abs(this.state.dblclickData.clientY - data.clientY) < MOVE_THRESHOLD) {
/**
* @event dblclick
* @memberof PSV
* @summary Triggered when the user double clicks on the viewer. The simple `click` event is always fired before `dblclick`
* @param {PSV.ClickData} data
*/
this.psv.trigger(EVENTS.DOUBLE_CLICK, this.state.dblclickData);

@@ -602,0 +585,0 @@ }

@@ -133,8 +133,2 @@ import * as THREE from 'three';

__renderLoop(timestamp) {
/**
* @event before-render
* @memberof PSV
* @summary Triggered before a render, used to modify the view
* @param {number} timestamp - time provided by requestAnimationFrame
*/
this.psv.trigger(EVENTS.BEFORE_RENDER, timestamp);

@@ -171,7 +165,2 @@

/**
* @event render
* @memberof PSV
* @summary Triggered on each viewer render, **this event is triggered very often**
*/
this.psv.trigger(EVENTS.RENDER);

@@ -213,7 +202,2 @@ }

/**
* @event panorama-loaded
* @memberof PSV
* @summary Triggered when a panorama image has been loaded
*/
this.psv.trigger(EVENTS.PANORAMA_LOADED);

@@ -220,0 +204,0 @@ }

@@ -20,2 +20,9 @@ import * as THREE from 'three';

super(psv);
/**
* @summary Current HTTP requests
* @type {XMLHttpRequest[]}
* @private
*/
this.requests = [];
}

@@ -27,2 +34,3 @@

destroy() {
this.abortLoading();
super.destroy();

@@ -72,2 +80,9 @@ }

/**
* @summary Cancels current HTTP requests
*/
abortLoading() {
[...this.requests].forEach(r => r.abort());
}
/**
* @summary Loads a Blob with FileLoader

@@ -92,5 +107,8 @@ * @param {string} url

loader.load(
const request = loader.load(
url,
(result) => {
const rIdx = this.requests.indexOf(request);
if (rIdx !== -1) this.requests.splice(rIdx, 1);
progress = 100;

@@ -109,4 +127,14 @@ onProgress && onProgress(progress);

},
reject
(err) => {
const rIdx = this.requests.indexOf(request);
if (rIdx !== -1) this.requests.splice(rIdx, 1);
reject(err);
}
);
// when we hit the cache, the result is the cache value
if (request instanceof XMLHttpRequest) {
this.requests.push(request);
}
});

@@ -190,6 +218,2 @@ }

return { texture, panoData };
})
.catch((e) => {
this.psv.showError(this.config.lang.loadError);
return Promise.reject(e);
});

@@ -318,9 +342,3 @@ }

return Promise.all(promises)
.then((texture) => {
return { texture };
})
.catch((e) => {
this.psv.showError(this.config.lang.loadError);
return Promise.reject(e);
});
.then(texture => ({ texture }));
}

@@ -327,0 +345,0 @@

@@ -93,2 +93,6 @@ /**

let test = el;
// When el is document or window, the matches does not exist
if (!matches) {
return null;
}

@@ -95,0 +99,0 @@ do {

@@ -262,7 +262,2 @@ import * as THREE from 'three';

/**
* @event ready
* @memberof PSV
* @summary Triggered when the panorama image has been loaded and the viewer is ready to perform the first render
*/
this.trigger(EVENTS.READY);

@@ -422,10 +417,4 @@ }, 0);

this.prop.hFov = this.dataHelper.vFovToHFov(this.prop.vFov);
this.needsUpdate();
/**
* @event size-updated
* @memberof PSV
* @summary Triggered when the viewer size changes
* @param {PSV.Size} size
*/
this.trigger(EVENTS.SIZE_UPDATED, this.getSize());

@@ -439,18 +428,18 @@ this.__resizeRefresh();

* @description Loads a new panorama file, optionally changing the camera position/zoom and activating the transition animation.<br>
* If the "options" parameter is not defined, the camera will not move and the ongoing animation will continue
* If the "options" parameter is not defined, the camera will not move and the ongoing animation will continue.<br>
* If another loading is already in progress it will be aborted.
* @param {string|string[]|PSV.Cubemap} path - URL of the new panorama file
* @param {PSV.PanoramaOptions} [options]
* @returns {Promise}
* @throws {PSV.PSVError} when another panorama is already loading
*/
setPanorama(path, options = {}) {
if (this.prop.loadingPromise !== null) {
return Promise.reject(new PSVError('Loading already in progress'));
this.textureLoader.abortLoading();
}
if (!this.prop.isReady) {
if (!('longitude' in options)) {
if (!('longitude' in options) && !this.prop.isCubemap) {
options.longitude = this.config.defaultLong;
}
if (!('latitude' in options)) {
if (!('latitude' in options) && !this.prop.isCubemap) {
options.latitude = this.config.defaultLat;

@@ -487,3 +476,11 @@ }

const done = () => {
const done = (err) => {
if (err && err.type === 'abort') {
console.warn(err);
}
else if (err) {
this.showError(this.config.lang.loadError);
console.error(err);
}
this.loader.hide();

@@ -493,2 +490,9 @@ this.renderer.show();

this.prop.loadingPromise = null;
if (err) {
return Promise.reject(err);
}
else {
return true;
}
};

@@ -515,3 +519,2 @@

})
.catch(e => console.error(e))
.then(done, done);

@@ -530,3 +533,2 @@ }

})
.catch(e => console.error(e))
.then(done, done);

@@ -596,8 +598,2 @@ }

/**
* @event config-changed
* @memberOf PSV
* @summary Triggered after a call to setOption/setOptions
* @param {string[]} name of changed options
*/
this.trigger(EVENTS.CONFIG_CHANGED, Object.keys(options));

@@ -640,8 +636,2 @@ }

/**
* @event autorotate
* @memberof PSV
* @summary Triggered when the automatic rotation is enabled/disabled
* @param {boolean} enabled
*/
this.trigger(EVENTS.AUTOROTATE, true);

@@ -670,2 +660,3 @@ }

* @summary Starts or stops the automatic rotation
* @fires PSV.autorotate
*/

@@ -704,11 +695,6 @@ toggleAutorotate() {

* @param {PSV.ExtendedPosition} position
* @fires PSV.before-rotate
* @fires PSV.position-updated
*/
rotate(position) {
/**
* @event before-rotate
* @memberOf PSV
* @summary Triggered before a rotate operation, can be cancelled
* @param {PSV.ExtendedPosition}
*/
const e = this.trigger(EVENTS.BEFORE_ROTATE, position);

@@ -719,9 +705,2 @@ if (e.isDefaultPrevented()) {

/**
* @event get-rotate-position
* @memberof PSV
* @param {Position} position
* @returns {Position}
* @summary Called to alter the target position of a rotation
*/
const cleanPosition = this.change(CHANGE_EVENTS.GET_ROTATE_POSITION, this.dataHelper.cleanPosition(position));

@@ -735,8 +714,2 @@

/**
* @event position-updated
* @memberof PSV
* @summary Triggered when the view longitude and/or latitude changes
* @param {PSV.Position} position
*/
this.trigger(EVENTS.POSITION_UPDATED, this.getPosition());

@@ -762,9 +735,2 @@ }

if (positionProvided) {
/**
* @event get-animate-position
* @memberof PSV
* @param {Position} position
* @returns {Position}
* @summary Called to alter the target position of an animation
*/
const cleanPosition = this.change(CHANGE_EVENTS.GET_ANIMATE_POSITION, this.dataHelper.cleanPosition(options));

@@ -854,11 +820,3 @@

this.needsUpdate();
/**
* @event zoom-updated
* @memberof PSV
* @summary Triggered when the zoom level changes
* @param {number} zoomLevel
*/
this.trigger(EVENTS.ZOOM_UPDATED, this.getZoomLevel());
this.rotate(this.prop.position);

@@ -901,2 +859,3 @@ }

* @summary Enters the fullscreen mode
* @fires PSV.fullscreen-updated
*/

@@ -909,4 +868,4 @@ enterFullscreen() {

this.container.classList.add('psv-container--fullscreen');
this.prop.fullscreen = true;
this.autoSize();
this.eventsHandler.__fullscreenToggled(true);
}

@@ -917,2 +876,3 @@ }

* @summary Exits the fullscreen mode
* @fires PSV.fullscreen-updated
*/

@@ -926,4 +886,4 @@ exitFullscreen() {

this.container.classList.remove('psv-container--fullscreen');
this.prop.fullscreen = false;
this.autoSize();
this.eventsHandler.__fullscreenToggled(false);
}

@@ -935,2 +895,3 @@ }

* @summary Enters or exits the fullscreen mode
* @fires PSV.fullscreen-updated
*/

@@ -968,7 +929,2 @@ toggleFullscreen() {

/**
* @event stop-all
* @memberof PSV
* @summary Triggered when all current animations are stopped
*/
this.trigger(EVENTS.STOP_ALL);

@@ -975,0 +931,0 @@ }

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 too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc