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
-
hideNotification()
Hides the notification
-
Fires
Details
-
isNotificationVisible() → {boolean}
Checks if the notification is visible
-
Returns
Details
-
<protected> show()
Displays the component
-
Details
-
showNotification( config )
Displays a notification on the viewer
-
Parameters
Name Type Description config
Object | string Name Type Attributes Description content
string timeout
int <optional> Examples
viewer.showNotification({ content: 'Hello world', timeout: 5000}) viewer.showNotification('Hello world')
Details
Events
-
hide-notification
Trigered when the notification is hidden
-
Details
-
show-notification
Trigered when the notification is shown
-
Details