Interface: CosmographButtonFitViewConfigInterface
Extends
Properties
duration?
optional
duration:number
Specifies the duration of the animation in milliseconds.
Default
250
padding?
optional
padding:number
Specifies the padding around the graph in the viewport viewport.
Default
0.1
onClick()?
optional
onClick: () =>void
Specifies a handler that is called when a button is clicked.
Returns
void
Inherited from
iconSvg?
optional
iconSvg:string
Specifies the icon to be displayed on the button.
Inherited from
description?
optional
description:string
Specifies the description to be displayed on the button.