new PSVPanel( psv )

Description

Panel class

Parameters
Name Type Description
psv PhotoSphereViewer

Members


<readonly> container :HTMLElement

Details
HTMLElement

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


<readonly> psv :PhotoSphereViewer


<readonly> visible :boolean

Visibility of the component

Methods


<protected> create()

Creates the component


<protected> destroy()

Destroys the component


<protected> hide()

Hides the component


hidePanel()

Hides the panel

Fires

Trigered when the panel is closed


<protected> show()

Displays the component


showPanel( content [, noMargin ] )

Shows the panel

Parameters
Name Type Attributes Default Description
content string
noMargin boolean <optional>
false
Fires

Triggered when the panel is opened

Events


close-panel

Trigered when the panel is closed


open-panel

Triggered when the panel is opened