Main documentation
GitHub
Preparing search index...
The search index is not available
Photo Sphere Viewer
Photo Sphere Viewer
Core
utils
toggleClass
Function toggleClass
toggleClass
(
element
:
Element
,
className
:
string
,
active
?:
boolean
)
:
void
Toggles a CSS class
Parameters
element
:
Element
className
:
string
Optional
active
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Main documentation
GitHub
Photo Sphere Viewer
Loading...
Toggles a CSS class