R
I

UseTimestampControls

testeddemo

Pause/resume controls returned when `controls: true`.

Demo

Loading demo…

Signature

ts
interface UseTimestampControls extends ResumableActions

Properties

PropertyTypeDescription
timestampRef<number, number>The reactive timestamp
isActiveReadonly<Ref<boolean, boolean>>Whether the updater (RAF loop or interval) is currently active