TextListElement

@Serializable
@SerialName(value = "text-list")
data class TextListElement(val items: List<FormattedText>, val ordered: Boolean = false) : UiElement.Static

A bulleted or numbered list of text items.

Constructors

Link copied to clipboard
constructor(vararg items: FormattedText)
constructor(items: List<FormattedText>, ordered: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val ordered: Boolean = false

Functions

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