Files
crystian-ComfyUI-Crystools/web/progressBarUI.d.ts
T
2024-09-21 01:28:13 +02:00

21 lines
758 B
TypeScript

export declare enum EStatus {
executing = "Executing",
executed = "Executed",
execution_error = "Execution error"
}
export declare class ProgressBarUI {
htmlIdCrystoolsRoot: string;
htmlIdCrystoolsProgressBarContainer: string;
private centerNode;
htmlProgressSliderRef: HTMLDivElement;
htmlProgressLabelRef: HTMLDivElement;
queueButtonElement: HTMLElement | null;
currentStatus: EStatus;
timeStart: number;
currentProgress: number;
constructor(htmlIdCrystoolsRoot: string, htmlIdCrystoolsProgressBarContainer: string, centerNode: () => void);
createVertical: () => void;
refreshDisplay: () => void;
updateDisplay: (currentStatus: EStatus, timeStart: number, currentProgress: number) => void;
}