ViewportHelperFunctionOptions
The ViewportHelperFunctionOptions type defines the options that can be passed
to viewport functions such as setViewport or zoomIn. They configure the
transition behaviour to smoothly animate viewport changes.
type ViewportHelperFunctionOptions = {
duration?: number;
ease?: (t: number) => number;
interpolate?: 'smooth' | 'linear';
};| Name | Type | Default |
|---|---|---|
duration | number | |
ease | (t: number) => number | |
interpolate | "smooth" | "linear" |