useGoBackwardCallback
The useGoBackwardCallback hook returns a callback function that, when called, moves the Checkpoints object backward to the previous checkpoint.
useGoBackwardCallback(checkpointsOrCheckpointsId?: MaybeGetter<undefined | CheckpointsOrCheckpointsId>): () => void| Type | Description | |
|---|---|---|
checkpointsOrCheckpointsId? | MaybeGetter<undefined | CheckpointsOrCheckpointsId> | The |
| returns | () => void | A callback function. |
Since
v8.1.0