new PSVComponent( parent )

Description

Base sub-component class

Parameters
Name Type Description
parent PhotoSphereViewer | module:components.PSVComponent

Members


<static, readonly> className :string

CSS class added to the component's container

Details
string

<static, readonly> publicMethods :Array.<string>

List of component's methods which are bound the the main viewer

Details
Array.<string>

<readonly> container :HTMLElement

Details
HTMLElement

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


<readonly> psv :PhotoSphereViewer


<readonly> visible :boolean

Visibility of the component

Details
boolean

Methods


<protected> create()

Creates the component


<protected> destroy()

Destroys the component


<protected> hide()

Hides the component


<protected> show()

Displays the component