Members
-
<readonly> container :HTMLElement
-
Details
-
<readonly> parent :PhotoSphereViewer|module:components.PSVComponent
-
Details
-
<readonly> psv :PhotoSphereViewer
-
Details
-
<readonly> visible :boolean
Visibility of the component
-
Details
Methods
-
<protected> create()
Creates the component
-
Details
-
<protected> destroy()
Destroys the component
-
Details
-
<protected> hide()
Hides the component
-
Details
-
hideOverlay()
Hides the notification
-
Fires
Details
-
isOverlayVisible() → {boolean}
Checks if the overlay is visible
-
Returns
Details
-
<protected> show()
Displays the component
-
Details
-
showOverlay( config )
Displays an overlay on the viewer
-
Parameters
Name Type Description config
Object | string Name Type Description image
string text
string subtext
string Examples
viewer.showOverlay({ image: '<svg></svg>', text: '....', subtext: '....' })
Details
Events
-
hide-overlay
Trigered when the overlay is hidden
-
Details
-
show-overlay
Trigered when the overlay is shown
-
Details