Adds a gallery of multiple panoramas
| Name | Type | Description |
|---|---|---|
psv |
PSV.Viewer | |
options |
PSV.plugins.GalleryPlugin.Options |
Extends
Members
-
Available events
-
-
Unique identifier of the plugin
-
-
psv PSV.Viewer readonly inherited overrides
Reference to main controller
-
Methods
-
Name Type Description idstring -
destroy () package overrides
-
-
Hides the carousem
-
Fires:
-
init () package overrides
-
-
Sets the list of items
-
Name Type Description itemsArray.<PSV.plugins.GalleryPlugin.Item> handlerfunction optional function that will be called when an item is clicked instead of the default behavior
-
Shows the gallery
-
Fires:
-
Hides or shows the gallery
-
Type Definitions
-
Properties:
Name Type Argument Description idnumber | string Unique identifier of the item
panorama* thumbnailstring <optional>
URL of the thumbnail
namestring <optional>
Text visible over the thumbnail
optionsPSV.PanoramaOptions <optional>
Any option supported by the
setPanorama()method -
Properties:
Name Type Argument Default Description itemsArray.<PSV.plugins.GalleryPlugin.Item> <optional>
visibleOnLoadboolean <optional>
false Displays the gallery when loading the first panorama
hideOnClickboolean <optional>
true Hides the gallery when the user clicks on an item
thumbnailSizePSV.Size <optional>
Size of thumbnails, default (200x100) is set with CSS
Events
-
Triggered when the gallery is hidden
-
-
Triggered when the gallery is shown
-