Members
-
<readonly> container :HTMLElement
-
Details
-
<readonly> items :Array.<module:components/buttons.PSVNavBarButton>
List of buttons of the navbar
-
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
-
Throws
Details
-
<protected> destroy()
Destroys the component
-
Details
-
getNavbarButton( id [, silent ] ) → {module:components/buttons.PSVNavBarButton}
Returns a button by its identifier
-
Parameters
Name Type Attributes Default Description id
string silent
boolean <optional> false Returns
Details
-
<protected> hide()
Hides the component
-
Details
-
hideNavbar()
Hides the navbar
-
Details
-
<protected> show()
Displays the component
-
Details
-
showNavbar()
Shows the navbar
-
Details
-
toggleNavbar( active )
Toggles the navbar
-
Parameters
Name Type Description active
boolean Details