Skip to content

textmode.export.js / GIFExportProgress

Type Alias: GIFExportProgress ​

ts
type GIFExportProgress = object;

Progress information emitted while deterministic frames are captured and encoded as an animated GIF.

Properties ​

frameIndex? ​

ts
optional frameIndex?: number;

Number of frames captured so far.


message? ​

ts
optional message?: string;

Optional status message for UI consumption.


state ​

ts
state: "idle" | "recording" | "encoding" | "completed" | "error";

Current GIF capture or encoding state.


totalFrames? ​

ts
optional totalFrames?: number;

Total number of frames planned for the recording.