Members
-
<static, readonly> icon :string
SVG icon name injected in the button
-
Details
-
<static, readonly> iconActive :string
SVG icon name injected in the button when it is active
-
Details
-
<static, readonly> id :string
Unique identifier of the button
-
Details
-
<readonly> container :HTMLElement
-
Details
-
<readonly> enabled :boolean
State of the button
-
Details
-
<readonly> id :string
Unique identifier of the button
-
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 button
-
Details
-
<protected> destroy()
Destroys the button
-
Details
-
disable()
Disables the button
-
Details
-
enable()
Enables the button
-
Details
-
<protected> hide()
Hides the component
-
Details
-
<protected> show()
Displays the component
-
Details
-
supported() → {boolean|Promise.<boolean>}
Checks if the button can be displayed
-
Returns
Details
-
toggleActive( [ active ] )
Changes the active state of the button
-
Parameters
Name Type Attributes Description active
boolean <optional> forced state
Details