Skip to content
On this page

Type alias: FitBounds ​

Ƭ FitBounds: (bounds: Rect, options?: FitBoundsOptions) => Promise<boolean>

Type declaration ​

â–¸ (bounds, options?): Promise<boolean>

fit the viewport around bounds

Parameters ​
NameType
boundsRect
options?FitBoundsOptions
Returns ​

Promise<boolean>

Released under the MIT License.