method PlayerContextValue.previous
PlayerContextValue.previous(): void

Restarts the item after its first 3 seconds, else plays the previous one.

Return Type

void

Usage

import { type PlayerContextValue } from "src/contexts/player/PlayerContext.ts";