ThrobberElement

@Serializable
@SerialName(value = "throbber")
data class ThrobberElement(val caption: String? = null, val sentiment: Sentiment = Sentiment.Nominal) : UiElement.Static

UI Element to indicate that work is being done.

Constructors

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

Properties

Link copied to clipboard
val caption: String? = null

Optional caption to indicate what work is being done.

Link copied to clipboard

Signifier of the state of the work being done.

Functions

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