OptionaldurationTween duration in ms (forwarded to animateTo).
OptionaleasingTween easing (forwarded to animateTo).
OptionalmaxOverride the kit's system max scale. Defaults to the kit-wide max zoom
used by computeWheelAction / useZoom (currently 10).
OptionalminOverride the kit's system min scale. Defaults to the kit-wide min zoom
used by computeWheelAction / useZoom (currently 0.1).
OptionalmodeFit mode:
'contain' (default): uniform scale = min(availW/w, availH/h). Bounds fit entirely; one axis has letterboxing.'fill': uniform scale = max(...). Bounds overflow viewport on one axis.'stretch': per-axis scale. Bounds match viewport exactly; scale is non-uniform.OptionalpaddingInset (in CSS px) around the bounds. Default 16.
Options accepted by useViewAnimation's
animateToBounds.