Base component class
Name | Type | Description |
---|---|---|
parent |
PSV.Viewer | PSV.components.AbstractComponent | |
className |
string |
CSS class added to the component's container |
Members
-
children Array.<PSV.components.AbstractComponent> packagereadonly
All child components
-
-
-
parent PSV.Viewer | PSV.components.AbstractComponent readonly
-
-
Internal properties
-
Properties:
Name Type Description visible
boolean Visibility of the component
-
psv PSV.Viewer readonly
Reference to main controller
-
Methods
-
Destroys the component
-
-
Hides the component
-
-
Checks if the component is visible
-
Returns:
Type Description boolean -
Refresh UI
-
Must be be a very lightweight operation
-
Displays the component
-
-
Displays or hides the component
-
Name Type Description visible
boolean optional forced state