Function

useTimelineViewportBounds

Observes limits even when content, dimensions, or policy changes leave live values unchanged.

Signature

Type Definition
useTimelineViewportBounds(): object

Returns

object

Current content time, scroll bounds, and zoom limits.

Return members

NameSignatureDescription
maxContentTimemaxContentTime: RationalTime
maxScrollLeftmaxScrollLeft: number
maxScrollTopmaxScrollTop: number
maxZoomScalemaxZoomScale: number
minZoomScaleminZoomScale: number