Search Docs
Loading...
Skip to content

Type Alias: ZoomToSelectionAction

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

Action function for zooming to the current selection

Parameters#

Parameter Type Description
options? { padding?: number
options.padding? number
options.animate? boolean
options.autoFit? boolean Whether to enable auto-fit mode after zooming (default: false)

Returns#

Promise<void>