Search
Loading...
Skip to content

Type Alias: ZoomToSelectionAction

type ZoomToSelectionAction = (options?) => Promise<void>;

Action function for zooming to the current selection

Parameters#

ParameterTypeDescription
options?{ padding?:number
options.padding?number
options.animate?boolean
options.autoFit?booleanWhether to enable auto-fit mode after zooming (default: false)

Returns#

Promise<void>