resetZoom

abstract suspend fun resetZoom(animationSpec: AnimationSpec<Float> = DefaultZoomAnimationSpec)

Reset content to its minimum zoom and zero offset and suspend until it's finished.

Parameters

animationSpec

The animation spec to use or SnapSpec for no animation.


open suspend fun resetZoom(withAnimation: Boolean)

Deprecated

Use resetZoom(AnimationSpec) instead

Reset content to its minimum zoom and zero offset and suspend until it's finished.