new PSVNavBarMarkersButton( navbar )

Description

Navigation bar markers button class

Parameters
Name Type Description
navbar module:components.PSVNavBar

Members


<readonly> container :HTMLElement

Details
HTMLElement

<readonly> enabled :boolean

State of the button


<readonly> id :string

Unique identifier of the button


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


<readonly> psv :PhotoSphereViewer

Methods


<protected> create()

Creates the button


<protected> destroy()

Destroys the button


disable()

Disables the button


enable()

Enables the button


<protected> hide()

Hides the component


<protected> show()

Displays the component


toggleActive( [ active ] )

Changes the active state of the button

Parameters
Name Type Attributes Description
active boolean <optional>

forced state