(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

User Manual for Dynamic Progress Bar Component

The Dynamic Progress Bar component provides a visual representation of progress toward completion of a task or process. It displays a horizontal bar that fills from left to right as progress increases, supporting customizable colors, thresholds, and state indicators. This component is ideal for showing task completion, loading states, or any process with a measurable percentage of completion.

Properties

General Properties

Visual Properties

Event Actions

Testing Hooks

Component Actions

The Dynamic Progress Bar component exposes several methods that can be called from other components or through dynamic actions:

updateProgress(progress: number)

Updates the current progress value displayed by the bar.

setInvalid(errorMessage: string)

Sets the progress bar to an invalid/error state with a custom message.

setValid()

Resets the progress bar from an error state back to a normal state.

Technical Documentation for Backend Developers

Progress Updates

The progress bar typically receives updates from frontend processes, but it can also be updated based on server-sent events or polling API endpoints that return progress information.

Example progress update format from an API:

{
  "progress": 65,
  "status": "processing",
  "remainingTime": "2 minutes"
}

The actual progress value (0-100) would be extracted from this response and used to update the progress bar.