Skip to main content
Module

x/targadactyl/deps.ts>AudioPlayer

tga.js implemented in Deno
Go to Latest
interface AudioPlayer
import { type AudioPlayer } from "https://deno.land/x/targadactyl@1.0.1/deps.ts";

This object maintains a single audio layer during skottie playback

Methods

seek(t: number): void

Playback control callback, emitted for each corresponding Animation::seek().

Will seek to time t (seconds) relative to the layer's timeline origin. Negative t values are used to signal off state (stop playback outside layer span).