Navigation bar zoom button class
Name | Type | Description |
---|---|---|
navbar |
PSV.components.Navbar |
Extends
Members
-
children Array.<PSV.components.AbstractComponent> packagereadonly inherited overrides
All child components
-
-
-
Identifier to declare a group of buttons
-
-
SVG icon name injected in the button
-
-
SVG icon name injected in the button when it is active
-
-
Unique identifier of the button
-
-
parent PSV.Viewer | PSV.components.AbstractComponent readonly inherited overrides
-
-
psv PSV.Viewer readonly inherited overrides
Reference to main controller
-
Methods
-
-
Collapses the button in the navbar menu
-
-
Destroys the component
-
-
Disables the button
-
-
Enables the button
-
-
Checks if the button can be displayed
-
Returns:
Type Description boolean | Object -
Checks if the component is visible
-
Returns:
Type Description boolean -
Refresh UI
-
Must be be a very lightweight operation
-
Displays or hides the component
-
Name Type Description visible
boolean optional forced state
-
Changes the active state of the button
-
Name Type Description active
boolean optional forced state
-
Uncollapses the button from the navbar menu
-