new PSVNavBar( psv )

Description

Navigation bar class

Parameters
Name Type Description
psv PhotoSphereViewer

Members


<readonly> container :HTMLElement

Details
HTMLElement

<readonly> items :Array.<module:components/buttons.PSVNavBarButton>

List of buttons of the navbar


<readonly> parent :PhotoSphereViewer|module:components.PSVComponent


<readonly> psv :PhotoSphereViewer

Methods


<protected> create()

Creates the component


<protected> destroy()

Destroys the component


getNavbarButton( id ) → {module:components/buttons.PSVNavBarButton}

Returns a button by its identifier

Parameters
Name Type Description
id string

<protected> hide()

Hides the component


hideNavbar()

Hides the navbar


<protected> show()

Displays the component


showNavbar()

Shows the navbar


toggleNavbar( active )

Toggles the navbar

Parameters
Name Type Description
active boolean