Skip to content

Type alias: FitBounds

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

fit the viewport around bounds

Type declaration

▸ (bounds, options?): Promise<boolean>

Parameters
NameType
boundsRect
options?FitBoundsOptions
Returns

Promise<boolean>

Released under the MIT License.