I
UseTimestampControls
testeddemoPause/resume controls returned when `controls: true`.
Demo
Loading demo…
Signature
ts
interface UseTimestampControls extends ResumableActionsProperties
| Property | Type | Description |
|---|---|---|
timestamp | Ref<number, number> | The reactive timestamp |
isActive | Readonly<Ref<boolean, boolean>> | Whether the updater (RAF loop or interval) is currently active |