Interface

UseTimelineTimePositionResult

Result returned by `useTimelineTimePosition`.

Signature

Type Definition
Interface UseTimelineTimePositionResult

Type parameters

NameConstraintDefaultDescription
THTMLElementNoneHTMLElement type that receives the viewport-space transform.

Properties

NameSignatureDescription
refref: RefObject<T | null>Ref for the element that should be translated in viewport coordinates.
updatePosition(): voidImmediately re-syncs the element transform to the latest time.