JavaScript & React libraryAPIInterfacesCosmographButtonZoomInOutConfigInterface

Interface: CosmographButtonZoomInOutConfigInterface

Extends

Properties

onZoomInClick()?

optional onZoomInClick: () => void

Returns

void


onZoomOutClick()?

optional onZoomOutClick: () => void

Returns

void


zoomInIconSvg?

optional zoomInIconSvg: string


zoomOutIconSvg?

optional zoomOutIconSvg: string


duration?

optional duration: number

Specifies the duration of the animation in milliseconds.

Default

250

zoomIncrement?

optional zoomIncrement: number

Specifies the increment for the zoom level.

Default

1.4

description?

optional description: string

Specifies the description to be displayed on the button.

Inherited from

Omit.description