Determinate

@Serializable
@SerialName(value = "determinate")
data class Determinate(val progress: Float, val caption: String? = null, val sentiment: Sentiment = Sentiment.Nominal) : ProgressElement

UI Element for a progress bar where the progress is known.

Constructors

Link copied to clipboard
constructor(progress: Float, caption: String? = null, sentiment: Sentiment = Sentiment.Nominal)

Properties

Link copied to clipboard
open override val caption: String? = null

Optional caption to indicate what work is being done.

Link copied to clipboard

Fractional percentage to indicate the current progress of work.

Link copied to clipboard
open override val sentiment: Sentiment

Signifier of the state of the work being done.

Functions

Link copied to clipboard
inline fun <T : UiElement> UiElement.renderWithType(block: T.() -> Unit): RenderResult