property PlayerContextValue.toggleRef

Where the mounted MediaPlayer registers its play/pause handle.

Properties

current: (() => void) | null

Usage

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