UNPKG

@osaedasia/oresume

Version:

A user-friendly library for generating complete Single Page Applications (SPAs)

29 lines (28 loc) 943 B
import { HTMLObject } from "../../../domain/definitions/interfaces/HTMLObject"; /** * Tracks and communicates progress updates during asynchronous operations. * Used in file loading and task execution processes to report completion status. * @implements {HTMLObject} */ export declare class ProgressMessage implements HTMLObject { /** * Literal type identifier for progress messages. */ readonly type: "progress"; /** * Current progress value between 0 and 100. */ readonly progress: number; /** * Optional descriptive message about the current progress state. */ readonly info?: string; /** * Creates a new progress message instance. * @param {number} progress Completion percentage between 0 and 100. * @param {string} [info] Additional progress description. */ constructor(progress: number, info?: string); /** @inheritDoc */ toHtml(): string; }