-
components.PSVHUD.goto-marker-done
Triggered when the animation to a marker is done
-
Parameters
Name Type Description markerPSVMarker Details
-
components.PSVHUD.leave-marker
Triggered when the user puts the cursor away from a marker
-
Parameters
Name Type Description markerPSVMarker Details
-
components.PSVHUD.over-marker
Triggered when the user puts the cursor hover a marker
-
Parameters
Name Type Description markerPSVMarker Details
-
components.PSVHUD.select-marker
Triggered when the user clicks on a marker. The marker can be retrieved from outside the event handler with
module:components.PSVHUD.getCurrentMarker -
Parameters
Name Type Description markerPSVMarker dblclickboolean the simple click is always fired before the double click
Details
-
components.PSVHUD.select-marker-list
Triggered when a marker is selected from the side panel
-
Parameters
Name Type Description markerPSVMarker Details
-
components.PSVHUD.unselect-marker
Triggered when a marker was selected and the user clicks elsewhere
-
Parameters
Name Type Description markerPSVMarker Details
-
components.PSVHUD.filter:render-markers-list
Used to alter the list of markers displayed on the side-panel
-
components.PSVNotification.hide-notification
Trigered when the notification is hidden
-
Details
-
components.PSVNotification.show-notification
Trigered when the notification is shown
-
Details
-
components.PSVOverlay.hide-overlay
Trigered when the overlay is hidden
-
Details
-
components.PSVOverlay.show-overlay
Trigered when the overlay is shown
-
Details
-
components.PSVPanel.close-panel
Trigered when the panel is closed
-
Details
-
components.PSVPanel.open-panel
Triggered when the panel is opened
-
Details
-
components.PSVTooltip.hide-tooltip
Trigered when the tooltip is hidden
-
Details
-
components.PSVTooltip.show-tooltip
Trigered when the tooltip is shown
-
Details
-
PhotoSphereViewer.autorotate
Triggered when the automatic rotation is enabled/disabled
-
Parameters
Name Type Description enabledboolean Details
-
PhotoSphereViewer.before-render
Triggered before a render, used to modify the view
-
Parameters
Name Type Description timestampint time provided by requestAnimationFrame
Details
-
PhotoSphereViewer.click
Triggered when the user clicks on the viewer (everywhere excluding the navbar and the side panel)
-
Parameters
Name Type Description dataPhotoSphereViewer.ClickData Details
-
PhotoSphereViewer.dblclick
Triggered when the user double clicks on the viewer. The simple
clickevent is always fired beforedblclick -
Parameters
Name Type Description dataPhotoSphereViewer.ClickData Details
-
PhotoSphereViewer.fullscreen-updated
Triggered when the fullscreen mode is enabled/disabled
-
Parameters
Name Type Description enabledboolean Details
-
PhotoSphereViewer.gyroscope-updated
Triggered when the gyroscope mode is enabled/disabled
-
Parameters
Name Type Description enabledboolean Details
-
PhotoSphereViewer.panorama-cached
Triggered when a panorama is stored in the cache
-
Parameters
Name Type Description panoramastring Details
-
PhotoSphereViewer.panorama-load-progress
Triggered while a panorama image is loading
-
Parameters
Name Type Description panoramastring progressint Details
-
PhotoSphereViewer.panorama-loaded
Triggered when a panorama image has been loaded
-
Details
-
PhotoSphereViewer.position-updated
Triggered when the view longitude and/or latitude changes
-
Parameters
Name Type Description positionPhotoSphereViewer.Position Details
-
PhotoSphereViewer.ready
Triggered when the panorama image has been loaded and the viewer is ready to perform the first render
-
Details
-
PhotoSphereViewer.render
Triggered on each viewer render, this event is triggered very often
-
Details
-
PhotoSphereViewer.size-updated
Triggered when the viewer size changes
-
Parameters
Name Type Description sizePhotoSphereViewer.Size Details
-
PhotoSphereViewer.stereo-updated
Triggered when the stereo view is enabled/disabled
-
Parameters
Name Type Description enabledboolean Details
-
PhotoSphereViewer.zoom-updated
Triggered when the zoom level changes
-
Parameters
Name Type Description zoomLevelint Details