Class: ZoomInButton

PSV.buttons~ZoomInButton

new ZoomInButton (navbar)

Navigation bar zoom-in button class

Name Type Description
navbar PSV.components.Navbar

Extends

Members

children Array.<PSV.components.AbstractComponent> packagereadonly inherited overrides

All child components

container HTMLElement readonly inherited overrides

icon string readonly inherited overrides

SVG icon name injected in the button

iconActive string readonly inherited overrides

SVG icon name injected in the button when it is active

id string readonly inherited overrides

Unique identifier of the button

Reference to main controller

Methods

checkSupported () package inherited overrides

collapse () inherited overrides

Collapses the button in the navbar menu

disable () inherited overrides

Disables the button

enable () inherited overrides

Enables the button

isVisible ()boolean inherited overrides

Check if the component is visible

Returns:
Type Description
boolean

refreshUi () package inherited overrides

Refresh UI

Must be be a very lightweight operation

toggle () inherited overrides

Displays or hides the component

toggleActive (active) inherited overrides

Changes the active state of the button

Name Type Description
active boolean optional

forced state

uncollapse () inherited overrides

Uncollapses the button from the navbar menu